Plugin: User Actions
This plugin does is it allows users to set a command to a block. When the block is tapped the user performs the command inputted on the block. Tutorial made by @Droid
Commands
Special Tags
Execution tags
Some Examples
To set a /give command on a block:
Setting kit shops (credits to @SirGamer)
To let players use a free kit use the following commands:
To charge players for a kit use the following commands:
Sending custom messages to a user (credits to @UltimateJP8546)
Gamemodes (for non ops)
Gamemodes (for ops only)
Enchanting item (credits to @MaryVictoria)
Giving ranks as rewards
To make a ranks shop
To make jobs joinable by a single tap (credits to @FabulousPiggy)
Retire From A Job
This plugin does is it allows users to set a command to a block. When the block is tapped the user performs the command inputted on the block. Tutorial made by @Droid
Commands
- /action - To start set up of a User Actions block
- /actiondelall- To remove ALL User Actions blocks.
Special Tags
- %p - username of the player
- %x - x coord of the player
- %y - y coord of the player
- %z - z coord of the player
- %l - name of the level the player is in
- %ip - IP of the player
- %n - display name of the player
Execution tags
- %pow - Makes the command run as console.
- %op - Gives the player running the command OP permissions, these will be revoked after executing the command.
Some Examples
To set a /give command on a block:
Enter the command /action
Tap the block you want to add the command to
Enter the give command for example /give %p Diamond_pickaxe 1%pow
You’ve now set the block so that it gives anyone who taps it 1 diamond pickaxe just tap the block and the command will be executed.
To set an /effect command on a block:Enter the command /action
Tap the block you want to add the command to
Enter the command you want to add to the block , for example /effect %p jump 10000 5%pow
You’ve now set the command so that it gives anyone that taps it jump boost just tap the block and the command will be executed.
Setting kit shops (credits to @SirGamer)
To let players use a free kit use the following commands:
First use /action .
Then tap the the sign/block you please.
Then use /kit give <KitName> %p%pow
To charge players for a kit use the following commands:
First use /action .
Then tap the the sign/block you please.
Then use **/kit give <KitName> %p%pow** .
Then (once again) use /action .
Then tap the the sign/block you tapped before.
Now use **/takemoney %p <KitCost>%pow** .
Sending custom messages to a user (credits to @UltimateJP8546)
First use /action
Tap the block you wish to add the command to
enter the command (example)"/msg %p%pow Welcome To Example Craft xD"
When the block The block is tapped it will show as a message from Console to the player that tapped the action block.
Gamemodes (for non ops)
First use /action
Tap the block to wish to add the command to.
Enter the command (example) /gamemode 1 %p%pow ( you can set all the available game modes simply change the “1” )
When the block is tapped the player will be set to Creative mode.
Gamemodes (for ops only)
First use /action
Tap the block you wish to add the command to.
Enter the command (example)`/gamemode 1 %p%op (as mentioned above you can set all the available gamemode simply edit the “1”.)
When the block is tapped it will set the user to creative mode only if they are op, if they are non ops a message will display on their chat as " You don’t have permission to use this command."
Enchanting item (credits to @MaryVictoria)
First use /action
Tap the block you wish to add the command to
Enter the command (example) "/enchant %p 6%pow"
When the block is tapped it’ll enchant the item that the user who tapped it is holding.
Giving ranks as rewards
First use /action
Tap the block you wish to add the command to.
Enter the command, example /setgroup %p Member%pow
This can be used for minigames, for example if someone finished parkour and you wanted to give them a rank for their accomplishment you would do what was listed above. When the block is tapped the user will receive the rank “Member.”
To make a ranks shop
First use /action
Tap the block you want to add the command to.
Enter the command (example) /setgroup %p VIP+%pow
Once again enter the command /action
Tap the same block you did before .
Enter the command (example) /takemoney %p 30,000%pow
When the block is tapped it will set the user to “VIP+” rank and take 30,000 credits from their account.
To make jobs joinable by a single tap (credits to @FabulousPiggy)
First use /action
Tap the block you wish to add the command to, I recommend you put the block that represents the job the best. Per say an oak log.
Enter the command (example) /job join tree-cutter%pow
When the block is tapped the user will join the job “Tree Cutter.”
Retire From A Job
First use /action
Tap the block you wish to add the command to, I recommend you put the block that represents the job the best. Per say an oak log.
Enter the command (example) /job join tree-cutter%pow
When the block is tapped the user will retire from the job “Tree Cutter.”