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 SpookyHangar, Oct 12, 2017 at 12:10 PM.

  1. SpookyHangar

    SpookyHangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,991
    Likes Received:
    2,204
    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 at 3:57 PM
  2. MagnificentSpook

    MagnificentSpook Member

    Joined:
    Mar 16, 2016
    Messages:
    1,628
    Likes Received:
    1,168
    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.
     
    SpookyHangar likes this.
  3. Spyro/Cynder

    Spyro/Cynder Member

    Joined:
    May 27, 2016
    Messages:
    3,967
    Likes Received:
    1,423
    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. SpookyHangar

    SpookyHangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,991
    Likes Received:
    2,204
    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:
    663
    Likes Received:
    218
    Trophy Points:
    43
    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. Shamel

    Shamel Member

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

    Flowey Member

    Joined:
    Jun 25, 2017
    Messages:
    1,469
    Likes Received:
    1,180
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Lincoln slave tunnels
    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:
    118
    Likes Received:
    712
    Trophy Points:
    93
    Gender:
    Male
    Location:
    slimeyland
  9. SpookyHangar

    SpookyHangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,991
    Likes Received:
    2,204
    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. Flowey

    Flowey Member

    Joined:
    Jun 25, 2017
    Messages:
    1,469
    Likes Received:
    1,180
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Lincoln slave tunnels
    Yeah i got that much since i program some basic C++ stuff . Was explaining relavabt stuff to shamel
     
    SpookyHangar likes this.
  11. Zoutoplossing

    Zoutoplossing Member

    Joined:
    Sep 15, 2016
    Messages:
    42
    Likes Received:
    18
    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
     
    SpookyHangar likes this.
  12. AnonymousVoter

    AnonymousVoter Member

    Joined:
    Jul 7, 2016
    Messages:
    1,507
    Likes Received:
    586
    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.
     
    skifbyfan101 and SpookyHangar like this.
  13. SpookyHangar

    SpookyHangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,991
    Likes Received:
    2,204
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    More like an utility :p
    ^^^^
     
    AnonymousVoter likes this.
  14. SpookyHangar

    SpookyHangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,991
    Likes Received:
    2,204
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
  15. SpookyHangar

    SpookyHangar Member

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

    skifbyfan101 Member

    Joined:
    Dec 6, 2015
    Messages:
    6,509
    Likes Received:
    6,731
    Trophy Points:
    113
    I wish I could like twice.
     
    SpookyHangar likes this.
  17. livewire55

    livewire55 Member

    Joined:
    Jun 21, 2017
    Messages:
    23
    Likes Received:
    8
    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!
     
    SpookyHangar likes this.
  18. SpookyHangar

    SpookyHangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,991
    Likes Received:
    2,204
    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,018
    Likes Received:
    4,344
    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. SpookyHangar

    SpookyHangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,991
    Likes Received:
    2,204
    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