-
-
Notifications
You must be signed in to change notification settings - Fork 69
API
Ben edited this page May 14, 2016
·
27 revisions
Want to hook into my plugin? Here's a basic overview on the API. Just know that the API is built for me.
####User object:
- I use a user object to handle most things with a user, there is a Data class that actually handles the file reading/editing
- Creating object:
new User(playerName);
new User(new UUID(uuid));
new User(player);
####VoteSite object:
- Similary, I use a votesite object to handle stuff with votesites, there is a ConfigVoteSites class that handles the file reading/editing
- Create object:
new VoteSite(siteName);
plugin.getVoteSite(name);
- BonusReward has its own class that handles bonus rewards, called BonusVoteReward
####Examples: More to be added.
Get total votes: user.getTotalVotes();
Setup/Configuration:
BungeeCord/Velocity Setups:
-
Proxy Setups
- PLUGINMESSAGING (Best method)
- REDIS (Second best)
- SOCKETS
- MYSQL
- Global Data Handling
- Multi-Proxy Setups
Knowledge base:
- Commands & Permissions
- Special Rewards
- File Layout
- API
- Converting data storage
- Vote Reminding
- Time Changes
- Minecraft Server Lists
- Performance Settings
- Bedrock Player Support
- Debug
- Minecraft Server Lists
- PlaceHolderAPI Expansion
- Signs
- Online/Offline Mode
- WIP MonthDateTotals
Troubleshooting
Rewards:
More setups: