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.
-
View User Profile
-
Send Message
Posted Feb 11, 2015Hey JeterLP,
can you please add a %arg1 who i can use the TAB-key to auto complete the Playername? For example: I type /give LeCraft and press the [Tab-key] and the name turns into /give LeCraftonleKnight.
and a new "sendTo" option, like sendTo: '%arg1'?
best greetings and nice plugin!
-
View User Profile
-
Send Message
Posted Feb 4, 2015@JeterLP
okey great
very nice :D
-
View User Profile
-
Send Message
Posted Jan 31, 2015@hermandelul
Okay, I will look for both things. Please be patient
-
View User Profile
-
Send Message
Posted Jan 28, 2015and another question
can you make an command type like alias
but that the given command to execute is running by the console?
-
View User Profile
-
Send Message
Posted Jan 28, 2015@JeterLP
I've tried, but
this is my code: http://pastebin.com/Jwh4rdZA
end it will result in
" [Hermandelul] im %sender% "
i also tried it with %arg1 but that works only in the message not in the command
-
View User Profile
-
Send Message
Posted Jan 27, 2015@hermandelul
This should already work!
-
View User Profile
-
Send Message
Posted Jan 27, 2015hello
Can you add the variable %sender% into the execute
like execute: '/say im %sender%'
that will output the senders username?
i will be very usefull on my server, where i use your plugin for almost 2 years :D
-
View User Profile
-
Send Message
Posted Dec 22, 2014@F0C0S
Zur Frage 3
Wen du ein Permissions Plugin nutzt muss der Nutzer des Befehls Permissions dafür haben sich den Rang Polizist geben zu können. hat er diese Rechte nicht kann er sich auch nicht Polizist machen also einfach mal (Beispiel bei Permissions ex: 'pex.user.player.group.set.Polizist'(Glaube das das so ist)) bei den Rechten hinzufügen von Permissions ex und ausprobieren
-
View User Profile
-
Send Message
Posted Dec 19, 2014Well, switched to a Cauldron 1.7.10 server and can't run it at all, sadly. Does react to /myoc and show that I should use "/myoc <reload:list>" but get the exact same message if I try reload or list. I give up :P
-
View User Profile
-
Send Message
Posted Oct 8, 2014@ursak
The command execute works perfectly for me. Make sure you do not have a '/' in the config. Although the examples seem to include the '/', do not use them. When the plugin executes the command, it already adds a forward slash, so it acts as if you have put two forward shashes.
Example:
Hope this helps :)
-
View User Profile
-
Send Message
Posted Sep 29, 2014y no update
-
View User Profile
-
Send Message
Posted Sep 13, 2014execute still doesn't work. Atleast not with 1.7.9 of spigot.
-
View User Profile
-
Send Message
Posted Sep 13, 2014can u please a add a selection so like u can add message but alis but its called randomalis so you can add multi commands and it will only pick one of them so like /join sg and it would join a random games
-
View User Profile
-
Send Message
Posted Sep 9, 2014oh can you please update ??
-
View User Profile
-
Send Message
Posted Aug 31, 2014Hallo lieber JeterLP, bei mir gehen die Permissions leider nicht egal welchen command die permissions gehen bei mir einfach nicht. Ich benutze PermissionsEx. MFG: Martin
-
View User Profile
-
Send Message
Posted Aug 17, 2014Hallo JeterLP, ich hoffe du kannst mir weiter helfen! Aso ersmal danke ist ein sehr schönes Plugin.
So jetzt zu meiner Frage: Ich will sowas wie eine Polizei befehl machen!
Der Code:
/marke: mode: 'message' permission: 'myoc.marke' sendTo: 'sender' messages: - '&6Officer &3%PLAYER% &6nimmt seine Marke aus dem Schrank und meldet sich zum Dienst!'
Frage 1: Bei (sendTo: 'sender') wie kann ich machen das das jeder Spieler sieht?
Frage 2: Ich wollte machen das wen man den befehl eingibt bei %PLAYER% mein name steht geht das? Also ich hätte da mein name eintragen können ich wollte das aber so machen, der den befehl eingibt soll da sein ingame name stehen! GEHT DAS?
Frage3: Geht das wenn man den befehl eingibt das man dann in eine Gruppe hinzugefügt würd? zb. Ich bin Gruppe Normal dann gebe ich den befehl ein (/marke) und dann ist man Gruppe Polizei!
Danke in vorraus!!
MFG Florian|F0C0S
-
View User Profile
-
Send Message
Posted Aug 12, 2014@JeterLP
what will it have :D
-
View User Profile
-
Send Message
Posted Jul 8, 2014@xDizasterCYx
new update is coming soon
-
View User Profile
-
Send Message
Posted Jul 3, 2014@JeterLP
hey could you update to 1.7.9 because when i updated to 1.7.9 since months ago yesterday i realise that the aliases especially when you execute a command is not working.
-
View User Profile
-
Send Message
Posted May 15, 2014@Penz5557 The yml format does not allow spaces. So no, sorry.