Make your own Commands
Create your own commands with your own permissions and your own messages to display without learn how to code!
How to use
To make a new command, just type the command name in the config.
Then you set under the command name the permission, and the message to display.
If your commands are not working after a reload/restart, you have errors in your config file.
Please check if ALL your messages are in ' ' symbols. If they are in the symbols, please check your config file
HERE for yaml errors.
Permissions
Every command has its own permission node. You can set is in the config.
Permission to reload the config: myoc.reload
Permission to list the commands: myoc.list
Commands
Just type /myoc reload to reload the config.
Just type /myoc list to list all commands and aliases.
Can you make it so we can set the fasing in the teleport commands because i made the command /spawn and it did so they face south but the spawn wall is at east
THANK YOU
I searched for this Plugin 3 Months! (Where is the donate-Button) :D
@EmkMage
Yes :D Simply set the permission to essentials.spawn ;)
Can you overwrite other commands? For example making a command called /hub and using the permission node from Essentials that allows /spawn?
@marc771122 Finished. We now only have to wait for the approval :D
Added the support of arguments in aliases.
Example:
/promote: permission: 'info.promote' execute: '/pex user %arg1% group set %arg2%'
with this you have to make: /promote USER GROUP
@leonvakt
Teleportations to coordinates is currently supported.
Add in the teleport a option to teleport to players or cords, that would be AWESOME!! :D
k thx but make it quick my mods going crazy they want to promote people to creative ranks :P
@marc771122
I'll ad that in the next version.
@DarkFusioN007
Thats because I fixed it ;) One file had a wrong name.
@semirotta
only you o-O , i didn't get that :)
@marc771122
Well:
commands:
/mod: permission: promote.mod
aliases: /mod: '/pex user player group set Mod'
But there is one problem, the name of the player....so in the end you can't to that, or actually yet. You could use ServerSigns...that supports promotion etc..
Hello i really liked it but . when i don't know how to make my own command i want to make one for promotion like /pex user player group set Mod i want the command to be /mod player and the permission info.mod but how? can u give me a pic or a video or idk but i need to know how
What it doesnt do
- Brews Coffee//
Using v1.3.2 I got this error:
http://pastebin.com/VzdC5CFv
I update the plugin myself now though but just saying if someone else had this :D
EDIT:
This seems to pop out every time i start the server
http://pastebin.com/yYcBzF8L
Fix please , annoying errors in console for nothing
@nightfire187
I'll add a %playerlist% value.
@leonvakt
I'll add that :D
Suggestion: Anyway {PLAYERLIST} can be used with /list Or a way to disable /list from myoc cause essentials /list shows the players online as well as how many and /list from myoc is over riding essentials /list so its only showing # of players online
Edit: tryed just removing /list from the config but it still thinks its there even after a restart
Other then that this plugin is very usefull ty much
1. Idk how to send :P 2. in the teleport ones can we set delay, because i try to get a /leave command that teleport you out of the pvp arena after 10 secconds?
@leonvakt
Please send me your ideas and I see what I can do. In the next version teleport commands will come.