diff options
author | mbax <matt@phozop.net> | 2014-02-04 20:52:50 -0700 |
---|---|---|
committer | turt2live <travpc@gmail.com> | 2014-02-08 00:03:14 -0700 |
commit | b18bedd848be2a1396087e768601c85c791e00aa (patch) | |
tree | b63d1f1eafad6cc8d49da626fdfa375d3b955f3f /src/main/resources/configurations/commands.yml | |
parent | 66471a53263ce8a3df673ef32627187ecdecae7c (diff) | |
download | craftbukkit-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/resources/configurations/commands.yml')
0 files changed, 0 insertions, 0 deletions