Since we're going to fully rewrite the way how users will be authenticated with the next update (no more unique playernames, users can always change their names etc), this also affects some plugins probably. If a plugin previously used the player name to identify a user, this isn't reliable anymore. Instead, every user will get a globally unique UID, which will never change. For Steam users, this is the SteamID64 (standalone users get a similar ID). We will add a getUID() function to the player object accordingly, which returns a long value.
If your plugin used the playername to store any player data previously, you have to change it to the UID now.
I understand that these changes might be tricky in some cases, and I'm sorry for the inconveniences, but unfortunately that's the only way, and getting rid of the HIVE server is inevitable. I promise that there will be no more similar changes in the future, so once you've updated your plugins to use the UID instead of the player name, you never have to deal with it in the future anymore.
We uploaded a pre-version of the plugin API here: https://download.rising-world.net/api/pre/PluginAPI_Pre.zip
A pre-version of the game and server will be ready in a few days. We try to fully release the update next week (between 12th and 16th of February).
If you have any questions or if you need help, please let us know!
- Events
- [New] PlayerCraftItemEvent
- [New] PlayerPickupItemEvent
- Player
- [New] getUID()
- [New] isCrouching()
- [New] isSitting()
- [New] isLaying()
- [New] isPlayingPiano()
- [New] setAreaSelectionToolData()
- Server
- [New] getPlayer(uid)
- [Change] isPlayerAdmin(name)
- [Change] isPlayerBanned(name)
- [Change] banPlayer(name)
- [Change] unbanPlayer(name)