PCM
This is a plugin to easily create personalized commands, server broadcast messages, prefixes and actions for the command.
Features
Add commands in game that can run console commands, broadcast messages. commands have user defined permissions.
Commands
Add a command: /PCM Add [Command] [Console Command] [Permission] [Broadcast]
Remove a command: /PCM Remove [Command]
Set prefix: /PCM Prefix [Prefix]
Reload config file: /PCM Reload
Run command: /C command
Permissions
PCM.Admin: Add, Remove, Prefix, Reload
PCM.[Permission you set]: /C [Command you set]
Config
Unless you know what you are doing don't edit the config.yml file
Other
%p% can be used in [Console Command] and [Broadcast] and is replaced with the username of the player that sends the message
For a space when entering a console command or a broadcast message enter a underscore which will be replaced with a space
Commands are not prefixed with a / because they are run by the console
Commas (,) cant be used due to the way the plugin stores data (will be fixed)
If you don't want a broadcast message put 0 in [Broadcast Message]
Commands are case sensitive (will be fixed)
Sample Uses
Set rank up in permissions plugin
/PCM Add password pex_group_Member_user_add_%p% Default Welcome_our_newest_member:_&p&
This will add the user who types /C password to the PEX group Member and broadcast the message [Prefix] Welcome our newest member: (name)
Ask for admin help
/PCM Add help none Member %p%_has_requested_help!
This will broadcast a message to the server [Prefix] (name) has requested help! and run the command none which isn't a command so wont do anything
Give command block
/PCM Add commblock give_%p%_137 creative 0
Because you cant get command blocks in the creative inventory if you were running a creative server you might want users to have command blocks but not be able to spawn other blocks. this will give the user who types /C commblock 1 command block and not broadcast a message.
Comments