Sueta
AD

AdvancedRealm API

1.0

Simple API for advancedrealm

·Plugin

With this api you can add the support of AdvancedRealm into your plugin.

The main commands are in the RealmUtils file, with those commands you can get the RealmPlayer object or the Realm object and do a lot things with them.

To access to info you can do:
new RealmUtils().getRealmFromName() (example)

There are at the moment 5 events:

  • RealmClaimEvent
  • RealmUnclaimEvent
  • PlayerMoveInRealmEvent
  • RealmBuildEvent
  • RealmBreakEvent

You just need to put the api as a dependence and to put a depend: [Advancedrealm] in your plugin.yml.

Contact iPazu#9120 for more informations or suggestions.

Similar projects

Plugin →