-
Notifications
You must be signed in to change notification settings - Fork 1
Commands
In my opinion, the command list and information looks much nicer in-game, but it is also slightly less detailed in-game.
TODO: make it look not ugly
/cmr: Gives plugin information. /cmr help: Gives a list of sub-commands for the command /cmr. /cmr reload: Reloads the multiplier, the list of blocks that trigger the rewards, and the rewards themselves and their properties (the chance of getting the reward and the commands to run upon triggering). /cmr multiplier [multiplier]: Reads or updates the multiplier value. The multiplier may be either an integer or a decimal number. /cmr addblock [block]: Adds a block to the list of reward-triggering blocks. You can use it either by specifying the name of the block you want to add, or just by holding it in your hand. Similarly... /cmr removeblock [block]: This removes a block from the list in the same manner as /cmr addblock. /cmr listblocks : Lists all the blocks that trigger rewards in a nice, readable format. Make sure you have no duplicate blocks in your block lists, or this will yell at you, and for good reason. The plugin may act unexpectedly at the presence of duplicate blocks. /cmr addreward [reward_name]: Create a new reward or a new reward section if no reward is specified. /cmr removereward [reward_name]: Delete a reward or reward section. If reward name is not specified, it will delete the whole reward section so be careful with this one! /cmr listrewards [rewardSection]: Lists all reward sections defined. If used with a reward section parameter, it lists all rewards in that reward section. /cmr addcommand <reward_name> : Add a command to a reward by just specifying the reward name, the reward section, and the command. The command can have spaces for args, and %player% to represent the name of the player who triggered it. /cmr insertcommand <reward_name> <insert_position> : Insert a command at a specified position, meaning that the new command will have insert_position as its new ID, shifting all the ones below it down in ID. This is just in case the commands need to run in a specific order. /cmr removecommand <reward_name> <command_ID>: Remove a command from the specified reward in the specified reward section. You can use the command ID to remove a command or the command itself if you are very precise and case sensitive. You can get the ID of a command with this next command... /cmr listcommands <reward_name>: Shows all commands attached to a reward and their IDs to use in /cmr removecommand and /cmr insertcommand /cmr addworld [rewardSection] : Adds a world to the list of allowed worlds in a reward section, or if no reward section specified, adds the world to the default, or global, allowed worlds list. The config option validateWorldsAndRegions will determine whether it will check to see if the world you typed in was actually valid. /cmr removeworld [rewardSection] : Pretty much the same as addworld, except this command removes a world from a list. /cmr listworlds [rewardSection]: Lists the allowed worlds in a reward section, or the default/global allowed worlds list if no reward section specified. /cmr addregion [rewardSection] : Same as /cmr addregion except using regions instead of worlds. /cmr removeregion [rewardSection] : Same as /cmr removeregion except using regions instead of worlds. /cmr listregions [rewardSection]: Same as /cmr listworlds except using regions instead of worlds. /cmr addcurrentworld [rewardSection]: Adds the world you are currently in to the specified reward section, or the global/default list if none specified. /cmr removecurrentworld [rewardSection]: Same as /cmr addcurrentworld except removes a world instead of adding one. /cmr chance [chance]: Changes or views the chance of a reward occurring.