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 16
Rainbow_V16.zip
Filesize: 14.27MB  Views: (927)  Downloads (163)  Last Download: April 09, 2018, 10:30:33 PM 
Previous Download | Next Download
Description: - Player movement event
   * public void onAttemptPlayerMove(MC_Player plr, MC_Location locFrom, MC_Location locTo, MC_EventInfo ei)  {}
   * PS: Since this is new and potentially could affect performance, a "kill switch" is added /diw toggle PlayerMoveEvents to disable
   * If disabled though, plugins relying on it would not function.

- Improvements for onAttemptPlayerTeleport. Better handles cancelled and duplicate events.

- Get/Set player motion details (velocity, fall distance)
   public MC_MotionData getMotionData();
   public void setMotionData(MC_MotionData data);

- "/diw toggle spamkick" now works to disable the automatic spam.
- Ops are exempt from built-in chat spam/censor checks.

- MC_World object has
   public boolean getGameRuleBool(MC_GameRuleType ruleType);
   public void setGameRule(MC_GameRuleType ruleType, boolean newVal);
   * The KinderEggs plugin uses this to hide /give output now as an example for how could be used.

Posted by: DoingItWell September 21, 2014, 06:08:57 PM


Linking Codes
Direct Link

Comments
DoingItWell
Administrator
Hero Member
*****

Reputation: +142/-2
Offline Offline

Posts: 673



View Profile
September 21, 2014, 06:10:21 PM
Btw for plugin developers, the ExamplePlugin comes with a "/shake" command demonstrating setting player motion.  It randomly catapults them in a direction.



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