Sueta

SlashAnything

1.7

Create commands to introduce players to your server

·Plugin

I've seen some plugins offer simple commands like /discord, /website, and /forums. All they do is return a message. I decided to make SlashAnything to do such tasks, but in a more flexible manner.

Built for 1.8.X - 1.13 with Java 8.

Now with BungeeCord support.

There are two sets of strings that my system uses that cant be in the command, the first one ":::"(three colons) is internal and should not be used by the user, the second one however ":,:"(colon comma colon) is for new line and is used to send multiple lines to the user(Could be used to bypass chat message size limit or for formatting).

Supports colored messages by & color codes.

If you want to send long messages or just feel like doing it by hand you can make the command(with some random data or something) then run "/anysave"(to update config immediately) and edit the config.yml then "/anyreload"(If you do not run this then shutting down or reloading the server will overwrite changes).

When you download the plugin, you accept the following ToS:

  • Don't (re-)post this plugin as is or with minimal changes.
  • Don't claim this plugin as your own.

However feel free to decompile and see how it works if you want. Also please report any bugs to discussion and I'll try to fix them when I can.

If you have any ideas on improvements to the plugin, message me or post in discussions, and I'll look into it.

Commands

anyconfig: creates a new command with return
anydescription: sets description of existing command(That was created by this plugin) Does not work on bungeecord version(bungeecord doesn't have command descriptions)
anyreregister: reload, for this plugin's custom commands
anydelete: removes a command
anysave: forces a save of the commands(Normally only on disable)
anyreload: forces a load of the commands from file(changes will be lost if not saved first)(Normally only on enable)
anybroadcast: broadcast a command you made with this plugin to everyone on the server
anystats: get how many times a command has ben ran(Excludes broadcast)

Sample config.yml

Enabled: true //Not normally changed by user(Internal)
Version: 1.6 //Not normally changed by user(Internal)
CommandsData: //Not normally changed by user(Internal)
- website:::vist my website &3URL here:,:Have fun!:::This is an example of a /website command //A sample of a custom /website command
CommandCounter: //Not normally changed by user(Internal)
- website:::25 //A sample of amount command ran total

Permissions

slashAnything.anyConfig: Allows running anyconfig and anydescription
slashAnything.reload: Allows running anyreregister
slashAnything.delete: Allows running anydelete
slashAnything.save: Allows running anysave and anyreload
slashAnything.broadcast: Allows running anybroadcast
slashAnything.stats: Allows running anystats

Similar projects

Plugin →