Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

collapse

* Notifications

* Rainbow Downloads

* Recently Modified

Title Modified
VNAP - Authentication Pl... by Algoru December 25, 2017, 03:33:50 AM
Pl3xPlugins (updated) by CodeCrafter47 December 21, 2017, 04:47:31 AM
MultiWorld by CodeCrafter47 August 03, 2017, 01:16:59 PM
Shared Packages by JD9999 June 02, 2017, 05:20:12 PM
LagControl v0.1 by UnknownUser500 April 13, 2017, 11:05:17 PM
FirstJoinMessages v0.1 by UnknownUser500 February 09, 2017, 07:44:49 AM
aConfigAPI by UnknownUser500 February 09, 2017, 07:28:52 AM
PluginManager v0.1 by UnknownUser500 January 21, 2017, 08:18:32 PM
Transporter by JD9999 December 28, 2016, 02:53:40 PM
BukkitToRainbow code con... by UnknownUser500 December 27, 2016, 09:52:17 PM

 



Version 14
Rainbow_V14.zip
Filesize: 14.23MB  Views: (1196)  Downloads (219)  Last Download: April 09, 2018, 10:33:43 PM 
Previous Download | Next Download
Description: I was going to spread out releases a little more, but since important new option for plugin developers and permissions feature, I'll release V14 now.

- If you give a permission to playername '*' (without quotes), all players get the permission.
Use as a convenient way of granting permissions until group-support is added.

- Plugins can register commands.  This is much more convenient than processing onPlayerInput and onConsoleInput.
Registered commands show up in the /help list, can be permissioned, support tab autocomplete, etc.
See PluginExample for a fully working "/head" command (Usage: /head PlayerName - receive their skull)

For quick guide though, you do this:
   - Implement a class that implements MC_Command.
   - In your onStartup() you register that class. E.g.
      server.registerCommand(new CmdHead());
   - Implement methods in your class (copy/paste from CmdHead sample your first time).

- MC_Server has some player name matching functions for convenience
   MC_Player getOnlinePlayerByName(String pName);
   public List<String> getMatchingOnlinePlayerNames(String subString);

- Added /version alias for /ver since someone (Cybertronic Toon) asked on forums, why not :)

- You can add command names to "RemoveCommands.txt" next to server .jar to remove built-in commands.
   * Some people didn't like built-in /marry /divorce. You can remove here :D
   * You can also remove vanilla commands like /me if desired.
   * Or maybe use it to prune commands you never use from /help list.

Posted by: DoingItWell September 20, 2014, 02:57:33 AM


Linking Codes
Direct Link

Comments
jdogduffy
Administrator
Hero Member
*****

Reputation: +37/-19
Offline Offline

Posts: 718



View Profile WWW
September 20, 2014, 06:13:26 AM
I love the disabling command feature :)
If you have any questions just ask!

Add Comment
Comment: 
Your comment will not appear until it has been approved.