Ingame Rank gifting (/gift player) like hypixel?
Hello, i wanna recreate the hypixel's /gift player, rank gifting system using ingame currencies (eg: playerpoints) and with the help of deluxemenu and skript.
I tried making the gui and logic thing with skript but I can't able to get the gift-receiving player's name on the deluxemenu gui , when i do /gift username and also it unable to deduct the playerpoints balance from the user who is gifting it.
Can anyone help me with idea to make it full? I would like to open source this thing
9 Replies
send configs and code and explain more about what the issue (why cant it deduct the balance, for example)
support may be slower for skript since people in this server dont particularly like it
So since , i was not having any target (who gets the gift) player's placeholder, i tried using rocketplaceholder plugin to create one to make , but still does not works, Thanks in advance for helping me out !
Skript :
command /gift <offlineplayer>:
trigger:
set {gift_target::%uuid of player%} to name of arg-1
execute console command "dm open giftmenu %player%"
Deluxemenu config :
Rocket placeholders
placeholders:
gift_target:
placeholder: "gift_target"
text: "{gift_target}" # gets replaced by Skript value
I cant find any evidence that rocket placeholders has any skript compatibility
so it wont know or replace the value of random skript variables
I've seen people use https://forums.skunity.com/resources/skript-placeholders.909/ in the past for creating placeholders
skUnity Forums
Addon - skript-placeholders
This addon allows you to create your own PlaceholderAPI placeholders, which can be used in any plugin that supports it. You are also able to use PlaceholderAPI and MVdW placeholders within your scripts.
It is a fork of Ersatz which has been...
maybe you'll have better luck that way
i have that added already, do i need to do any configure in there?
GitHub
Creating Custom Placeholders
Placeholder integration for Skript. Contribute to APickledWalrus/skript-placeholders development by creating an account on GitHub.
follow this guide to create a placeholder
okay ill try it asa back home, thanks alot again