XP-command

XP-command

Why XP-Command

At the moment Expirience isn't that usefull. You get levels and you can use it to enchant. But what if it was possible to give your visitors the ability to use their collected exp to make the console execute any command for that player. Well , now you can!

How does it work?

You start by creating a new command. Let's say that your server has essentials installed. You want to make it possible so players can buy FLY for themself. This is how you do:

type /xpcommand create flying fly %p on

This is simply the command that you should typ in the console in order to make players fly. the %p is a variable that is a placeholder for the playername.

After you created the command, get yourself a sign and place it wherever you want.

Sign setup:

Example:

sign

Now your sign is done and so is your (shop). People can now right click on the sign to execute the command. If they don't got enough exp , the command won't be executed.

Permissions

Commands

CommandFunctionPermission
/xpcommand create <name> [console command]Create a new command in the configxpcommand.create
/xpcommand remove <name>remove command from configxpcommand.remove
/xpcommand reloadreload the configxpcommand.reload

Other

PermissionDescription
xpcommand.sign.createallows the player to create signs
xpcommand.sign.useallows the player to use the sign
xpcommand.sign.breakallows the player to destroy the sign

Installation

  1. Place the jar in your plugins folder
  2. Restart the server
  3. Done! Enjoy!

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    100365
  • Created
    Jun 3, 2016
  • Last Released File
    Jun 5, 2016
  • Total Downloads
    434
  • License

Categories

Members

Recent Files