marcelo-mason / PreciousStones

Self-service protection for Minecraft servers
http://dev.bukkit.org/server-mods/preciousstones/
56 stars 67 forks source link

can i change 'ps' command like the other commands? #1077

Open iamadcat opened 7 years ago

iamadcat commented 7 years ago

can i change 'ps' command like the other commands?

i want to change 'ps' command to the other language. can i do that?

marcelo-mason commented 7 years ago

Yeah you should be able to

iamadcat commented 7 years ago

@marcelo-mason how can i do dat? i'm using 1.12

Zillew commented 7 years ago

One (very easy and quick) way to do it is using a plugin like "MyCommand". That allows you to create command aliases. For example you could make a command called /protection and make that run /ps.

iamadcat commented 7 years ago

@Zillew Can i make /ps give [value] to /protection give [value] using MyCommand?

arturek1666 commented 7 years ago

To do this you need couple of stuff:

  1. Notepad 2.Winrar,7zip

So download the plugin then right click on and open using 7-zip or winrar than copy to desktop file plugin.yml. After that open plugin.yml using notepad++, than change this

commands: ps: description: All of the PreciousStones commands usage: Command not recognized

to

commands: ps: description: All of the PreciousStones commands usage: Command not recognized aliases: [protection]

if you want more commands as ps just do aliases: [protection, ps2, ps3, trol]

Should work try it out xD. No point of adding plugin just to change command for ps xD. Just be carefully when modifying the plugin.yml if you modify it wrong, plugin might not work.

Coldene commented 7 years ago

You could possibly set up some command aliases. Do you have essentials? in custom.txt And also in your commands.yml where your server.properties.yml is. ` rankup:

` protection:

Also plugin called MagicSpells has an incantation ability that turns any typed text into any other command or spell. I'm sure there are others that do similar. Example. rtpaway: spell-class: ".ExternalCommandSpell" name: rtpaway always-granted: true enabled: true helper-spell: true cooldown: 20 incantations: