-
-
Notifications
You must be signed in to change notification settings - Fork 9
Developer API
Thérence F edited this page Apr 11, 2021
·
1 revision
Hey Developer!
In order to allow you to adapt the plugin to your server, I developed an API so that you can change as many aspects as possible.
In the following small tutorials, I assume that this is not your first Java programming session with the bukkit API so as not to waste time going back over details like : how to install an IDE as eclipse and how to create its first bukkit plugin. There's already a lot of really good tutorials on the internet for that.
Some piece of examples are available in the code section.
- You can listen to four unique events of UltimateSheepWars :
fr.asynchronous.sheepwars.core.event.usw.SheepGiveEventfr.asynchronous.sheepwars.core.event.usw.SheepLaunchEventfr.asynchronous.sheepwars.core.event.usw.GameStartEventfr.asynchronous.sheepwars.core.event.usw.GameEndEvent
↪️ If their names don't tell you anything, there should be a little description in the javadocs for you.
- You can get a player's game data by using the method
getPlayerData(OfflinePlayer)offr.asynchronous.sheepwars.core.data.PlayerData. - Other tips will be added over the time
Thanks for reading & hope it helps !
Regards,
Royalpha from the Asynchronous Developers Team.
- If you find any bugs or issues, just create a new bug report on github and it'll be fixed as soon as possible.
- Have any suggestions? Leave them in a new feature request.
- Introduction ✔️
- SheepWars API ✏️
- Calendar events ✏️
- Custom events ✔️
- Player data ✏️
- Item builder ✏️
- Game state ✏️
- Language ✏️
- Team manager ✏️
- If you find any bugs or issues, just create a new bug report on github and it'll be fixed as soon as possible.
- Have any suggestions? Leave them in a new feature request.