ReMap
What is ReMap?
ReMap is a translation-plugin. It can translate itself, other plugins and even Bukkit into any language. WorldEdit in Norwegian? Swedish command names for WorldGuard? Profanity filters? Anything related to translations and replacements in the chat can be done using this plugin.
ReMap is currently in a beta-state, awaiting bug reports and feature requests.
In short - what can ReMap do?
- Translate any plugin into any language
- Add new command aliases to any existing commands
- Make a single command trigger multiple actions
- Modify any chat message sent by either players or the server itself
- Block commands
Dependencies?
ReMap depend on ProtocolLib to hook into chat messages sent by the server. It uses the PlayerCommandPreprocessEvent to translate commands. ProtocolLib is a "soft dependency", which means that ReMap will function without it, but swaps and bleeps will become disabled (learn what that means in the tutorial).
Basically, if you run ReMap without ProtocolLib, you can only use command-related features, like changing command names, adding aliases, auto-replies and such. ProtocolLib does not require any kind of setup. Just download it, and ReMap will put it to good use automatically.
How do I get ReMap up and running?
To get started quickly, head over to the quick start guide. To explore the full power of ReMap, read the detailed tutorial.
Does ReMap have any commands or permissions?
Yes, it does.
Commands
- /remap - Display this command list.
- /remap block - Toggle command blocking. When enabled, only remapped commands will work.
- /remap message - Change the message sent to players who are using a blocked command. Can be empty.
- /remap reload - Reloads configuration and translation files.
- /remap status - Display some stats.
Note: For safety reasons, "/remap block" can still be used when command blocking is enabled. However, it will act as if it's blocked if the client does not have permission to turn it off.
Permissions
ReMap accept commands from players with the "remap" permission node as well as server operators (OP).
How does ReMap handle permissions for remapped commands?
ReMap executes remapped commands as if they were executed by the player. If the player doesn't have permission, the usual permission-message for that command is displayed, if any.
Source code?
Visit GitHub.
Recent changes
This list only contains important stuff. For a more technical and complete list of changes for each version, please read the log attached to each file in the download section.
- ProtocolLib is now a "soft dependency". ReMap can function without it. Sort of.
- Words and phrases can now be removed, not just replaced.
Pls update the plugin :)
Can you please add a player object for example in swap comamnds that you can write %player% and there will be the players name in chat?
@Kixes
Currently the changes are global, as in equal for all players. But I'm sure I can tweak it to become player independent too. I'll try to add that to the upcoming version. Thanks!
Does it work, per user? Cuz i have some European players who might find this useful, but I don't want the whole server to become German.
@mat41997
Great idea, I'll get right on it!
You can add black list and white list messages?
@maxlehot1234
It sure does. By the time I uploaded 0.4, we couldn't yet select 1.6.4 as the compatibility level, even though ReMap has supported it the whole time. I've updated the file description now. Thank you!
is it working on 1.6.4? NIce plugin
@kiwhen
No problem ;) I wish you good luck with you plugin since it´s the only plugin which handles that side of bukkit and make every message (even internal) customizable.
@craftik7
Well, it's a pro and a con at the same time. Without all the pressure of being a popular plugin, I can take my time to adjust stuff and really get this thing working smooth before we go into release. I'm currently working on a new syntax for the translation files that will allow for even more flexibility and less load on the server. Not quite sure when I'll be able to upload it, but it's coming real soon! Thank you so much for your support!
Ah, seems people are not downloading so much. If you wish I can post little advertisement on my ChatControl page which is shouting 13k downloads right now ;)
@kiwhen
Okay, thanks for the answer.
@craftik7
We cannot yet select 1.6.4 as compatibility for plugins, it's too fresh. However, the current version, 0.4, should still work. ReMap does depend on both Craftbukkit and Protocollib to function properly. 0.4 can technically do without ProtocolLib, but some features will become disabled.
Also, I'm currently looking into a new format for the remap files, which allows for mixing and matching patterns types, so that any event can trigger any result. This will allow for messages to trigger commands among other things.
Update for 1.6.4? Or it don´t use craftbukkit ? Thanks in advance
@kiwhen
It dont have to be only "to player" messages. It can be like "say Arena was finished" (convert message to command)
@craftik7
I suppose that would be possible, if there was a way for ReMap to figure out which player it is. If all ReMap see is "Arena was finished!", then this will be a bit hard (no player names to grab in the original message).
Hi can you add message to command ? If I catch message: "Arena was finished!" I want to give reward to player so "Arena was finished by %player!": "give %player diamond 5"
A really nice plugin, works perfectly !!
That's correct. I only tweaked the plugin to work without ProtocolLib in case someone only needed the remap or reply functionality.
Oh okay so when I want to translate the message I do have to have Protocollib installed.