Jump to content

AbioticTitan947

Recommended Posts

16 hours ago, AbioticTitan947 said:

also for clarification I use luckperms

Added ways to configure it, as well as make it compatible with other permissions plugin, enjoy: ūüėú

options:
    # Item to represent the voucher.
    voucher-item: paper
    # Name of the voucher.
    voucher-name: &3&lPERMISSION VOUCHER
    # Placeholders: {player} and {permission}. These will be replaced later.
    perm-command: lp user {player} permission set {permission}

on right click with {@voucher-item}:
    if event-item's name isn't "{@voucher-name}":
        stop
    set {_c} to "{@perm-command}"
    replace all "{player}" in {_c} with "%player%"
    set {_p} to (2nd element of ((1st element of uncolored lore of event-item) split at " | "))
    replace all "{permission}" in {_c} with {_p}
    console command {_c}
    remove 1 from tool's item amount
    send "&a&lSUCCESS &8&l| &7You successfully claimed this voucher!"

command /givevoucher <player> <text>:
    permission: server.cmd.givevoucher
    permission message: &cInsufficient permissions to execute that.
    usage: &cUsage: /givevoucher (player) (permission)
    trigger:
        send "&aGiven a voucher with permission &e%arg-2% &ato &e%arg-1%&a." to player
        send "&aYou recieved a voucher with permission &e%arg-2%&a." to arg-1
        give arg-1 {@voucher-item} named "{@voucher-name}" with lore "&7Permission &8| &f%arg-2%"

 

Next time, use Marketplace to request skripts.

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

Amazing! Good job!

image.png.6b83388bece6fb7d874e120f33c8dd96.png


IGN¬†‚ě£¬†Pickey¬†( Soon )¬†
Joined MineHut ‚ě£ January 7th 2019
Joined Forums¬†‚ě£ January 11th 2021
 
Admin on NotedGens
Manager on NotedGens
Developer on Cropied
Developer on Gennow (Genable)

==========================================
Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )
Retired From: InvadedLands ( Moderator )
Retired From:  MineTime ( Sr.Moderator )
Retired From: Hero Mines ( Helper )
Link to comment
Share on other sites

On 4/4/2021 at 2:16 AM, AbioticTitan947 said:

Hey guys Ive completed all this myself, I did it on the day I uploaded this

lol

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

  • 1 month later...
  • pAxiee locked this topic

Hello AbioticTitan947,

Please make sure that you aren't responding to posts that haven't been responded to in over a month. You can start a new thread in case you need some help. Also, make sure to create a post in the appropriate category. Thank you.
 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
√ó
√ó
  • Create New...