can i change 'ps' command like the other commands?
iamadcat opened this issue ยท 6 comments
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 how can i do dat? i'm using 1.12
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.
@Zillew Can i make /ps give [value] to /protection give [value] using MyCommand?
To do this you need couple of stuff:
- 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.
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:
- Autorank:ar check $1-`
This turns AutoRank's /ar check command into /rankup
PS internal name is I think PreciousStones so
` protection:
- PreciousStones :ps $1-`
or something like that in both files should alias /ps to /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:
- '/warp wilds'
- '/warp wilderness'
- '/warp wild'
- '/random portal'
can-cast-by-command: false
block-chat-output: false
command-to-execute:
- 'rtp'
entering /warp wilds does /rtp instead. This works for all commands.
With something like that you can individually rename commands.