Creating a Public/Community API

Discussion in 'Suggestions' started by HangarGeek, Oct 12, 2017.

  1. HangarGeek

    HangarGeek Member

    Messages:
    3,147
    Likes Received:
    2,710
    Trophy Points:
    333
    HangarGeek
    Obsidian
    My suggestion is pretty simple: Create a community API. What's an API? Why we need it?
    WHAT'S AN API?
    API stands for Application Coding Interface (Not American Petroleum Institute). I'm lazy to define "API" by my own words, so'll just quote it from Wikipedia:
    WHY?
    Simply, the number of "community codes" (i.e. Website, standalone programms, Forge Mods) will greatly grow. Websites like *cubecraftplayersts.xyz* for checking player level, if it's banned, etc will appear.
    What should it contain?
    "whereIs" (returns the where the player is, like what you see when executing /f list), getting player level, etc.
    @MagnificentSpook @Landviz


    https://api.cubecraft.net/
     
    Last edited: Oct 16, 2017
  2. MagnificentSpam

    MagnificentSpam Member

    Messages:
    2,259
    Likes Received:
    2,096
    Trophy Points:
    238
    MagnificentSpam
    Diamond
    To get the ban status you can use the appeals page. The whereis information probably shouldn't be available to everyone. Game stats should be public, they should make a website where you can see the top players for any stat and also see the stats for any player. When they make that site they might as well give us some kind of api specification.
     
    HangarGeek likes this.
  3. Spyro the Dragon

    Spyro the Dragon Member

    Messages:
    4,122
    Likes Received:
    1,551
    Trophy Points:
    173
    SpyrothDragon
    Your basically making a suggestion to make a custom cubecraft client.... i like it! +1
     
  4. HangarGeek

    HangarGeek Member

    Messages:
    3,147
    Likes Received:
    2,710
    Trophy Points:
    333
    HangarGeek
    Obsidian
    Not the command /whereis nor the friend system , but something like “Playing Skywars” (not giving details where they are [if lobby or ingame] nor the map they are playing)
    Related to bans, they should provide some kind of documentation to access the ban/appeal info imo
     
  5. AFreakingCookie (Hank)

    AFreakingCookie (Hank) Member

    Messages:
    2,604
    Likes Received:
    1,331
    Trophy Points:
    193
    AFreakingCookie
    Emerald
    I feel cubecraft is very fun and I feel like it doesnt need this
    And you can check someones bans on the appeals
     
  6. Shamel

    Shamel Member

    Messages:
    717
    Likes Received:
    1,800
    Trophy Points:
    219
    Shamel
    Emerald
    Lol could someone explain it in a simple way? I'm too dumb to understand. kthxbai
     
  7. A pigeon

    A pigeon Guest

    See if your friend is banned on f list and see top player stats from my understanding.
     
  8. Slimeyz

    Slimeyz Member

    Messages:
    318
    Likes Received:
    1,300
    Trophy Points:
    148
    Slimeyz
    Obsidian
  9. HangarGeek

    HangarGeek Member

    Messages:
    3,147
    Likes Received:
    2,710
    Trophy Points:
    333
    HangarGeek
    Obsidian
    Far from being that. It is code, allowing developer make their own applications (or websites,or mods) using code from CubeCraft. Those methods return (output) something. I cam with the thing from the friend list, but it can be a lot of things, such as current points, current rank, first login, total time played, etc
    Explain
    That does not make sense
     
  10. A pigeon

    A pigeon Guest

    Yeah i got that much since i program some basic C++ stuff . Was explaining relavabt stuff to shamel
     
    HangarGeek likes this.
  11. Zoutoplossing

    Zoutoplossing Member

    Messages:
    64
    Likes Received:
    26
    Trophy Points:
    33
    Zoutoplossing
    Emerald
    I agree, bacause i like coding alot and would like it if i could code CubeCraft mods too. Then i have finaly have a new coding challenge:p
     
    HangarGeek likes this.
  12. We don't need a party system, an anti-cheat, friends, or the suggestions part of the forums.
     
    Despacito 2 and HangarGeek like this.
  13. HangarGeek

    HangarGeek Member

    Messages:
    3,147
    Likes Received:
    2,710
    Trophy Points:
    333
    HangarGeek
    Obsidian
    More like an utility :p
    ^^^^
     
    Deleted member 169486 likes this.
  14. HangarGeek

    HangarGeek Member

    Messages:
    3,147
    Likes Received:
    2,710
    Trophy Points:
    333
    HangarGeek
    Obsidian
  15. HangarGeek

    HangarGeek Member

    Messages:
    3,147
    Likes Received:
    2,710
    Trophy Points:
    333
    HangarGeek
    Obsidian
    Bumperino x2 plz give dis thread love!11!!!!2
     
    Deleted member 169486 likes this.
  16. Despacito 2

    Despacito 2 Member

    Messages:
    7,517
    Likes Received:
    10,002
    Trophy Points:
    514
    Dotsially
    Iron
    I wish I could like twice.
     
    HangarGeek likes this.
  17. Danone inc.

    Danone inc. Member

    Messages:
    70
    Likes Received:
    42
    Trophy Points:
    18
    _Danone_
    that will be good and I will make cc-stats.c*m (sorry for swearing) Cubecraft public API is great, people will make custom clients, modifications, info sites and more!
     
    HangarGeek likes this.
  18. HangarGeek

    HangarGeek Member

    Messages:
    3,147
    Likes Received:
    2,710
    Trophy Points:
    333
    HangarGeek
    Obsidian
    How is that swearing?

    Doubt people will make custom clients, since it is pretty hard (more like 5zig plugins)
     
  19. jollow250

    jollow250 Member

    Messages:
    8,688
    Likes Received:
    5,916
    Trophy Points:
    283
    jollow250
    Emerald
    Now I am not a coding genius, but I know enough to understand what you are saying

    Now for the banned part I think of the appeals page

    For anything else in there I can't make a comment as I can't download it so if there are any other things inside can someone tell me what they are
     
  20. HangarGeek

    HangarGeek Member

    Messages:
    3,147
    Likes Received:
    2,710
    Trophy Points:
    333
    HangarGeek
    Obsidian
    You can check if someone is banned using some sneaky trick (*MagnificientSpam*),but it’s harder than having an api that returns true/false ;)
    About everything else, the API could contain things such as player colorname, rank, level, hour played, stats. The number of total and latest sentinel bans. And so on