InformationCommands
We all know this: Information provided by essential commands like /ts or /discord change, and now we have to update our plugin to all servers.
A useless work. But do you really need it?
The answer is simple: No!
InformationCommands lets put your essential commands into your mysql database. In this way, you never have trouble updating those simple information again.
Just change them in your database, and you're good to go!
The plugin automatically updates the commands in the background, so you do not even have to reload your servers, just edit the commands and watch.
Commands
There are some less commands you have to know to use InformationCommands.
Commands
/infocommands add/addcommand <Command> <Message(s)> - Add a new InfoCommand. Command is just the command name, e.g. "discord". Messages are the messages you want to display. If you want to have more than one line, you can combine them by using ";;" as separator.
Commands
/infocommands remove/removecommand <Command> - Remove an InfoCommand. Again, just enter the command name like "discord"
/infocommands list/listcommands - List the InfoCommands
Permission
There is just one permission for all admin commands. You can change it in the config.yml file located in the plugins directory
The default permission is "infocommands.admin"
Config
In the config you can change almost everything(the missing values will follow soon, so you can really change everything :p)
# Define the prefix+permission
prefix: '&bInfoCommands&8> &7'
permission: 'infocommands.admin'
# Define how many seconds should be waited until updating again
updater-seconds: 60
# Define the plugin's messages
messages:
nopermission: '&cYou don''t have permission'
# Define the MySQL data
mysql:
host: 'localhost'
port: 3306
username: 'username'
password: 'password'
database: 'database'
table: 'infocommands'
Installation
The installation of the plugin is very simple. Just put it into your plugins directory and reload/restart your server. When you first run the server with the plugin, you will propably get an error.
Instead you use the worst mysql credentials possible.
Now, edit the config.yml file that has been created in "plugins/InfoCommands". Enter your mysql credentials and adjust the other settings how you like. Save the config and reload/restart again.
Now the plugin should already work!
Problems
If you run into any problems running the plugin, feel free to post them in the "Discussion" tab on top of this site. I will (hopefully) reply to everyone and fix bugs if there are some.
Have fun with the plugin!
yanjulang.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta