summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
diff options
context:
space:
mode:
authormbax <matt@phozop.net>2014-02-04 20:52:50 -0700
committerturt2live <travpc@gmail.com>2014-02-08 00:03:14 -0700
commitb18bedd848be2a1396087e768601c85c791e00aa (patch)
treeb63d1f1eafad6cc8d49da626fdfa375d3b955f3f /src/main/java/net/minecraft
parent66471a53263ce8a3df673ef32627187ecdecae7c (diff)
downloadcraftbukkit-b18bedd848be2a1396087e768601c85c791e00aa.tar
craftbukkit-b18bedd848be2a1396087e768601c85c791e00aa.tar.gz
craftbukkit-b18bedd848be2a1396087e768601c85c791e00aa.tar.lz
craftbukkit-b18bedd848be2a1396087e768601c85c791e00aa.tar.xz
craftbukkit-b18bedd848be2a1396087e768601c85c791e00aa.zip
Implement banning API. Adds BUKKIT-3535
Previously no implementation existed to access various additional information fields regarding bans. This implementation expands on the information outlined in the sister Bukkit commit to provide access to the Minecraft implementation of the ban system. This implementation of the banning API contains 2 new classes which provide access to the internal workings of the built-in banning system within Minecraft. The CraftBanEntry class simply supports the representation of an internal Minecraft BanEntry object. The data that may be modified within this new object must be manually saved to the list contained within the CraftBanEntry using it's save() method. The CraftBanList class supports the representation of an internal Minecraft BanList object through proxy methods. These methods do validation on the passed objects where needed to ensure safe input to the backed Minecraft objects. These changes additionally re-route the existing banning API to the newer, more detailed, system. Functionality prior to this change still behaves as documented by the contract defined by the methods changed.
Diffstat (limited to 'src/main/java/net/minecraft')
0 files changed, 0 insertions, 0 deletions