1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

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

Addon GameAPI 2.0.3

Create awesome games with GameAPI !

Tags:
  1. Welcome new features!

    Olyno
    Description

    It's been a long time since I've updated GameAPI, but don't worry, there were many tests going on. So, this new version is now available!

    ⚠️This version has probably breaking changes. Please report me any issue you have here ⚠️

    Here are changes
    • A launching system with a custom cooldown system. The yaml file will be like
    Code (Text):
    1. timer:
    2.   time: 20
    3.   messages_as: message
    4.   messages:
    5.     '20': Game starts in ${time}
    6.     '15': Game starts in ${time}
    7.     '10': Game starts in ${time}
    8.     '9': Game starts in ${time}
    9.     '8': Game starts in ${time}
    10.     '7': Game starts in ${time}
    11.     '6': Game starts in ${time}
    12.     '5': Game starts in ${time}
    13.     '4': Game starts in ${time}
    14.     '3': Game starts in ${time}
    15.     '2': Game starts in ${time}
    16.     '1': Game starts in ${time}
    ➡️ time is how much time will pass before the game starts (in seconds)
    ➡️ messages_as is the form of all messages. It can be message (in the chat), title or action_bar
    ➡️ '20': blabla is when the message will appear. Here it will be at the 20th second
    ➡️ ${time} is a "string var" that will be replace with the current time in the cooldown
    • Better yaml files
    • A rework of Game and Team class
      • Added a GameRunner and GameManager class. GameRunner class is a thread that will start when the game starts and GameManager is an abstract class that includes all important methods (like display name etc...).
    A lot of new features will be available in the future. Have a look here to be hyped!
    ➡️ https://github.com/AlexLew95/GameAPI/projects ⬅️
    Ayham Alali likes this.
Return to update list...