GameAPI by Alexlew

Create awesome games with GameAPI !

Events

15

Expressions

34

Effects

6

Conditions

1

Types

3

Sections

0

Structures

0

Total

59

Welcome new features! 1816 days, 16 hours and 47 minutes ago

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

timer:
time: 20
messages_as: message
messages:
'20': Game starts in ${time}
'15': Game starts in ${time}
'10': Game starts in ${time}
'9': Game starts in ${time}
'8': Game starts in ${time}
'7': Game starts in ${time}
'6': Game starts in ${time}
'5': Game starts in ${time}
'4': Game starts in ${time}
'3': Game starts in ${time}
'2': Game starts in ${time}
'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 ⬅️

View Update

Hot fix and new features! 1856 days, 17 hours and 37 minutes ago

Description:

Hey there!
A new release of GameAPI is now available with a lot of hot fix and of course new feature to make your imagination for games awesome!

Here are changes:

Fix:

  • Signs issue fixed
  • Skript events (was link with wrong Bukkit event) fixed
  • Game loader message fixed
  • Point system issue fixed
  • Wrong messages fixed


Added:

  • Possibility to clear players from team and/or game (e.g remove all players from team "red" of game "test")
  • More syntaxes for Point system (e.g raw points, check the documentation to see them)
  • Version checker
  • Metrics


Improvements:


  • Improvements Game type. Now you can take the game of the player everytime (was limited to if player was in the game, worked not if the player was only in a team).
  • When a player in a game die, he will be teleported at the spawn of his team (or the spawn of the game) (Can be disabled)
  • Default spawn locations y coordination (now y = 150)

View Update

GameAPI 1951 days, 8 hours and 58 minutes ago


Overview

GameAPI is a quick and easy way to create games without the hassle. It is compatible for both java and skript developers but also for those who do not know how to code in these two languages.

Documentations:

Java:

Skript:

Other:
  • Nothing for the moment :emoji_frowning:

View Update

© Copyright 2014-2024 skUnity

All rights reserved.