Join the server community today!
Server IP:

AwardCraft API

Discussion in 'Off Topic' started by Mister_Fix, Nov 19, 2017.

  1. Mister_Fix Owner

    Oct 20, 2017
    Likes Received:
    This thread will be documenting the API for AwardCraft.
    I am maintaining the API so any bugs or feature requests should come to me.
    If you want to get my attention, mention me in your comment.
    Get player groups:
    [GET]<player uuid>
    This will return a list of groups the given UUID is currently in.
    The groups are ordered by ranks in an ascending order, meaning the highest rank is at the top and the lowest is at the bottom.
    The default group is ignored, meaning if the given UUID is only in the default group, no groups will be returned.

    Get player votes
    [GET]<player uuid>
    This will return the player's all time, daily, weekly and monthly votes.

    Get player prefix
    [GET]<player uuid>
    If then given UUID hold a custom prefix, this will return it, otherwise it will throw an error.

    You can also use a username instead of a UUID, using username=<username> instead of uuid=<uuid>
    crypt3r likes this.

Users Viewing Thread (Users: 0, Guests: 0)