1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Creating a Public/Community API

Discussion in 'Suggestions' started by A Christmas Hangar, Oct 12, 2017.

  1. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    3,053
    Likes Received:
    2,318
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    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

    Joined:
    Mar 16, 2016
    Messages:
    1,917
    Likes Received:
    1,524
    Trophy Points:
    113
    Gender:
    Male
    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.
     
    A Christmas Hangar likes this.
  3. Spyro the Dragon

    Spyro the Dragon Member

    Joined:
    May 27, 2016
    Messages:
    4,090
    Likes Received:
    1,519
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Defender of Worlds
    Location:
    Skylands
    Your basically making a suggestion to make a custom cubecraft client.... i like it! +1
     
  4. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    3,053
    Likes Received:
    2,318
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    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

    Joined:
    Apr 3, 2016
    Messages:
    1,302
    Likes Received:
    614
    Trophy Points:
    113
    Gender:
    Male
    I feel cubecraft is very fun and I feel like it doesnt need this
    And you can check someones bans on the appeals
     
  6. MajesticShamel

    MajesticShamel Member

    Joined:
    Dec 24, 2016
    Messages:
    468
    Likes Received:
    633
    Trophy Points:
    93
    Gender:
    Male
    Location:
    Earth
    Lol could someone explain it in a simple way? I'm too dumb to understand. kthxbai
     
  7. Chat Filter

    Chat Filter Member

    Joined:
    Jun 25, 2017
    Messages:
    2,426
    Likes Received:
    2,808
    Trophy Points:
    113
    Gender:
    Male
    Location:
    The Ocean
    See if your friend is banned on f list and see top player stats from my understanding.
     
  8. Slimeyz

    Slimeyz Member

    Joined:
    Oct 1, 2016
    Messages:
    146
    Likes Received:
    816
    Trophy Points:
    93
    Gender:
    Male
    Location:
    slimeyland
  9. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    3,053
    Likes Received:
    2,318
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    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. Chat Filter

    Chat Filter Member

    Joined:
    Jun 25, 2017
    Messages:
    2,426
    Likes Received:
    2,808
    Trophy Points:
    113
    Gender:
    Male
    Location:
    The Ocean
    Yeah i got that much since i program some basic C++ stuff . Was explaining relavabt stuff to shamel
     
    A Christmas Hangar likes this.
  11. Zoutoplossing

    Zoutoplossing Member

    Joined:
    Sep 15, 2016
    Messages:
    46
    Likes Received:
    19
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Behind my book
    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
     
    A Christmas Hangar likes this.
  12. AnonymousVoter

    AnonymousVoter Member

    Joined:
    Jul 7, 2016
    Messages:
    1,762
    Likes Received:
    864
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Canada
    We don't need a party system, an anti-cheat, friends, or the suggestions part of the forums.
     
  13. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    3,053
    Likes Received:
    2,318
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    More like an utility :p
    ^^^^
     
    AnonymousVoter likes this.
  14. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    3,053
    Likes Received:
    2,318
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
  15. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    3,053
    Likes Received:
    2,318
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    Bumperino x2 plz give dis thread love!11!!!!2
     
    AnonymousVoter likes this.
  16. MemeMaster69

    MemeMaster69 Member

    Joined:
    Dec 6, 2015
    Messages:
    6,747
    Likes Received:
    7,311
    Trophy Points:
    113
    I wish I could like twice.
     
    A Christmas Hangar likes this.
  17. squalge

    squalge Member

    Joined:
    Jun 21, 2017
    Messages:
    25
    Likes Received:
    10
    Trophy Points:
    3
    Gender:
    Male
    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!
     
    A Christmas Hangar likes this.
  18. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    3,053
    Likes Received:
    2,318
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    How is that swearing?

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

    jollow250 Member

    Joined:
    Sep 2, 2016
    Messages:
    7,212
    Likes Received:
    4,524
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    Being Festive For All Holidays
    Location:
    Somewhere That Isn't North Korea
    Home Page:
    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. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    3,053
    Likes Received:
    2,318
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    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