Okay. So you know our FunCommands like /derp and /huzza. Which are currently built into OREUtils well now I introduce you to FunCommands the java plugin replacement for it.
Extract it into the plugin folder after removing all older versions first. THE ONLY FILE YOU SHOULD EVER TOUCH IS Derp.txt
https://www.dropbox.com/s/xsiu76xkbqmc56...4.jar?dl=0
Change Log
Version 1.0.0
-Added /derp, /derps, /fun, /funs.
Version 1.1.0
-Removed /fun
-Added in Dynamic Command Register
Version 1.1.1
-Fix Permissions on all Commands that are Dynamically Registered.
Version 1.1.2
-Added /foodfight and /slap there permissions is the same as /funs and all fun commands
Version 1.3.0
-Added /add with permission FunCommands.fun.add
-Added /remove with permission FunCommands.fun.remove
-Added /approve and /aprove-all with permission FunCommands.fun.approve
-Added /deny and /deny-all with permission FunCommands.fun.deny
-Change storage of commands to .json.
Version 1.3.1
-Fixed my misspelling within the Commands.json.
Version 1.3.2
-Fixed two commands that always returned there was usage. Even when right.
Version 1.3.4
-Made it so if in Survival or Adventure mode /foodfight does not give you food.
Comments are great if you have any..
How to write new commands:
Okay to right new commands ingame you need to run /add
with a arguments in the following format.
{"Command": "the_command","Output": "Anything","Description": "A Description"}
To get more functions use the following:
<c-COLOUR> - Inserts color code ALL COLOR CODES MUST BE IN THE RIGHT FORM!
<n> - Inserts the sender's name
<a-INT> - Inserts arg<INT> Only works for arg 0 and arg 1
<t> - Send only to the sender
<r> - Run as a command executed by the sender
<s> - Run as a command executed by console-Only people with a upper permission can do this.
in regartes to <r> and <s> everything after them are used as the command. Anything before them are used as normal.
A good way to make sure the JSON is okay is here.
https://www.jsoneditoronline.org
Extract it into the plugin folder after removing all older versions first. THE ONLY FILE YOU SHOULD EVER TOUCH IS Derp.txt
https://www.dropbox.com/s/xsiu76xkbqmc56...4.jar?dl=0
Change Log
Version 1.0.0
-Added /derp, /derps, /fun, /funs.
Version 1.1.0
-Removed /fun
-Added in Dynamic Command Register
Version 1.1.1
-Fix Permissions on all Commands that are Dynamically Registered.
Version 1.1.2
-Added /foodfight and /slap there permissions is the same as /funs and all fun commands
Version 1.3.0
-Added /add with permission FunCommands.fun.add
-Added /remove with permission FunCommands.fun.remove
-Added /approve and /aprove-all with permission FunCommands.fun.approve
-Added /deny and /deny-all with permission FunCommands.fun.deny
-Change storage of commands to .json.
Version 1.3.1
-Fixed my misspelling within the Commands.json.
Version 1.3.2
-Fixed two commands that always returned there was usage. Even when right.
Version 1.3.4
-Made it so if in Survival or Adventure mode /foodfight does not give you food.
Comments are great if you have any..
How to write new commands:
Okay to right new commands ingame you need to run /add
with a arguments in the following format.
{"Command": "the_command","Output": "Anything","Description": "A Description"}
To get more functions use the following:
<c-COLOUR> - Inserts color code ALL COLOR CODES MUST BE IN THE RIGHT FORM!
<n> - Inserts the sender's name
<a-INT> - Inserts arg<INT> Only works for arg 0 and arg 1
<t> - Send only to the sender
<r> - Run as a command executed by the sender
<s> - Run as a command executed by console-Only people with a upper permission can do this.
in regartes to <r> and <s> everything after them are used as the command. Anything before them are used as normal.
A good way to make sure the JSON is okay is here.
https://www.jsoneditoronline.org