Jump to content

Glass Bridge Event 1.7.1

$20.00
   (2 reviews)

2 Screenshots

depends on

About Glass Bridge Event

Glass Bridge is an event inspired by the famous netflix series: Squid Game

• The event consists of creating a glass bridge where players must jump over them and reach the finish line to be the winner of the game;
• However, players will have some challenges for this. The event can have PVP combat during gameplay, as well as giving random weapons to players (set by config file) so they can kill each other;
• In addition, it is possible to disable the PVP or even make it more hardcore, activating the system of dying after the fall;


Features:
★ It is possible to add a different announcement for each weapon given to the user during the course of the event!
★ UI for event entry and exit fully customizable by configuration file.
★ Give customized prizes to users, in addition to executing commands on the server when a user is the winner of the event!
★ Manage the size of the arena and define the amount of glass that will be broken for each row!

 

Commands:
/gb start  - To start a new event
/gb stop - To stop the current event
/gb join - To join the event
/gb leave - To leave the event

 

Demonstration video:

glass_bridge_presentation.thumb.png.f55e8ab5f323d6d34268c16ac44867ec.png

♯ API:

// Returns whether the event is currently active
private bool IsActive();

// Returns whether a player is currently participating in the event.
private bool IsPlaying(string playerId);
private bool IsPlaying(ulong playerId);

// Remove a player from the event
private void RemovePlayer(string playerId);
private void RemovePlayer(ulong playerId);

// Get a list of event players
private List<BasePlayer> PlayingList();

// Hook when the event is started
private void OnGlassBridgeEventStarted();

// Hook when the event is finished
private void OnGlassBridgeEventEnded(BasePlayer? winner);



Formatting:
{winner_id} - Event winner steam ID
{winner_name} - Event winner display name

Default configuration file:
 

{
  "Commands": [
    "glassbridge",
    "gb"
  ],
  "Permission name": "glassbridge.admin",
  "Allowed console commands ('*' to allow all commands)": [],
  "Blocked chat commands ('*' to block all commands)": [],
  "Event settings": {
    "Auto start cooldown in seconds (0 = disabled)": 3600,
    "Waiting duration (seconds)": 120,
    "Auto stop after seconds (0 = disabled)": 300,
    "Minimum players": 1,
    "Lose when fall": false,
    "PVP Enabled": true,
    "Rollback players to start point when die": true,
    "Spawn position": {
      "x": 300.0,
      "y": 800.0,
      "z": 300.0
    },
    "Give times": [
      {
        "Tiem after the event started": 30.0,
        "Item shortname": "arrow.wooden",
        "Item amount": 3,
        "Item skin ID": 0,
        "Loaded ammo (0 = disabled)": 0,
        "Container to give (wear/belt/main)": "main",
        "Show warn for this item?": false,
        "Warn background color": "0 0.52 1 1",
        "Lang message key": ""
      },
      {
        "Tiem after the event started": 30.0,
        "Item shortname": "bow.hunting",
        "Item amount": 1,
        "Item skin ID": 0,
        "Loaded ammo (0 = disabled)": 1,
        "Container to give (wear/belt/main)": "belt",
        "Show warn for this item?": true,
        "Warn background color": "0.12 0.46 0.21 1",
        "Lang message key": "ReceivedNewItem"
      },
      {
        "Tiem after the event started": 120.0,
        "Item shortname": "pistol.revolver",
        "Item amount": 1,
        "Item skin ID": 0,
        "Loaded ammo (0 = disabled)": 4,
        "Container to give (wear/belt/main)": "belt",
        "Show warn for this item?": true,
        "Warn background color": "0 0.52 1 1",
        "Lang message key": "ReceivedNewItem"
      },
      {
        "Tiem after the event started": 180.0,
        "Item shortname": "rifle.ak",
        "Item amount": 1,
        "Item skin ID": 0,
        "Loaded ammo (0 = disabled)": 12,
        "Container to give (wear/belt/main)": "belt",
        "Show warn for this item?": true,
        "Warn background color": "0.58 0.25 0.25 1",
        "Lang message key": "ReceivedNewItem"
      }
    ]
  },
  "Glasses settings": {
    "columns": 18,
    "rows": 24,
    "Broken glasses by row (need to be less than columns)": 9
  },
  "Prize settings": {
    "Commands to execute on server": [
      "oxide.usergroup add {winner_id} glassbridge_event_winner"
    ],
    "Items to give": [
      {
        "Item shortname": "rifle.ak",
        "Item amount": 1,
        "Item skin ID": 1826520371,
        "Custom name (empty = disabled)": "Apocalyptic Knight AK"
      },
      {
        "Item shortname": "ammo.rifle",
        "Item amount": 128,
        "Item skin ID": 0,
        "Custom name (empty = disabled)": "Ammo for your AK"
      }
    ]
  },
  "UI settings": {
    "Join Leave UI": {
      "Anchor": "1 0.5 1 0.5",
      "Offset": "-146 -12 -12 138",
      "Background color": "0.18 0.17 0.18 1",
      "Join leave button": {
        "Join background color": "0.18 0.41 0.12 1",
        "Leave background color": "0.41 0.12 0.12 1"
      }
    },
    "Event status UI": {
      "Anchor": "0.5 1 0.5 1",
      "Offset": "-48 -100 48 -36",
      "Remaining players": {
        "Background color": "1 1 1 0.5",
        "Anchor": "0 0 1 0",
        "Offset": "0 0 0 24",
        "Icon URL": "https://i.postimg.cc/HsfZffQb/HY9DNLr.png",
        "Icon anchor": "0 0 0 1",
        "Icon offset": "4 4 20 -4"
      },
      "Remaining time": {
        "Background color": "1 1 1 0.5",
        "Anchor": "0 0 1 1",
        "Offset": "0 28 0 0"
      }
    }
  },
  "Version": {
    "Major": 1,
    "Minor": 6,
    "Patch": 0
  }
}


GALLERY

Capturadetela2023-09-05084543.thumb.png.2fd5c5ef7b4a3bd4b8336682122664de.png

Capturadetela2023-09-05084614.png.914405945a785ee34b444d1a1814eee6.png                      Capturadetela2023-09-05084553.png.2fdbf742cb3547ad706760d201c9ecc6.png

Capturadetela2023-09-05084537.png.3a4497f6320f5bf2035e1543d6764a49.png


User Feedback

1.5m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

105.2k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.