So Banker Badger is getting a huge back-end update, I have completely re-strictured the code to make it quicker and easier to add in new features and fixes.
So… What will you notice new?
- The
send
command can now have either the amount before or after the name. - No more full names, Thanks to Accipiter adding I support for lookupChars you can now use the first name of the character if there is only 1 player with that name.
- 4 new privileges: user, moderator, admin, and owner.
-
- Each can promote anyone to any privilege that is below and not equal to their own.
-
- moderators can get people’s balances and check the balance of safes.
-
- admins can alter the balance of safes and characters. They can also promote characters to moderators. As well as all the abilities of moderators.
-
- owners can do all the above as well as promote admins and moderators.
- Improved help command that procedurally lists commands, aliases, and usages
- Added the ability to transfer safe ownership & delete safes.
What won’t you notice?
- Added support for more advanced promises.
- Better error handling
- Easy to add command system
- Similar file structure and Jason structure to the previous version allowing for hopefully seamless transition between the 2
- Automatic character updater (updates the character’s data seamlessly with new required data for new features.
And for the upcoming features that will be released along with the release of this new version:
- Ability to list and buy items via safes, allowing for an added touch for stores. [Done ^w^]
- Moderator promotions, yep ^w^
- Ability to list your recent history (max 20 due to message size limit) [Done ^w^]
- Interest ^w^ a certain % interest gain per day ^w^ (can’t have ya being poor) [Done ^w^]
- Bot API (I will add a simple API for bots to interact with the Banker via JSON-encoded messages. [Done ^w^]
And… Drumroll please, I have 3 slots open for suggestions, so by all means suggest away and I will pick the most useful 3 to implement ^w^
I plan to release this update in about 2 weeks, so look forwards to it ^w^ x