Added [cmd] commands to manage command files from within the server. #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added some commands to manage the commandsigns commands.
/cs cmd set
Sets a commandsign command. Will create or edit a text file with said content in the commandsign folder basically
/cs cmd remove
deletes a text file in the command directory
/cs cmd link [name]
links a command, so you can click a commandsign with a stick to change the signs command to the one linked
when used without a name, will unlink the command, freeing you to cycle currencies.
/cs cmd list
lists all the text files in the cmd dir. has a link and delete button you can press.
Basically a project i did for fun to learn java (First time using the language, tbh)
Originally was going to see if i could convert the storage sources to include some modded ones but sponge doesn't natively support it yet apparently, Oof.
Feel free to add it, modify or reject it. Honestly probs not that secure then again commandsigns run from console anyway so its really just for owners..