StickFight (1vs1) | Config | BungeeCord | Developer API icon

StickFight (1vs1) | Config | BungeeCord | Developer API -----

A completely editable 1vs1 minigame.



Description
Stickfight is a small minigame in which two players have to try to knock each other off the platform using a knockback stick.The plugin is currently still in the alpha phase and a few functions are still missing (SQL/Stats).

Features
  • Every message is editable
  • A config.yml file
  • Developer API
  • Easy setup
Requirements
  • 2 players
  • Probably 1.12
Commands
  • /stickfight setpos <1/2> - Sets the player positions (stickfight.stickfight)
  • /stickfight setspawn - Sets the spawn point (stickfight.stickfight)
  • /stickfight setspectator - Sets the spectator spawn point (stickfight.stickfight)
Setup
  1. Put the plugin in the plugins folder of your server
  2. Restart or reload your server
  3. Edit the config.yml and the messages.yml
  4. Restart or reload your server
  5. Set all positions
  6. Rejoin and have fun
Config
Code (Java):
countdown :
  lobby -countdown : 30
  prepare -countdown : 5
  ending -countdown : 10
idle :
  idle -period : 15
points :
  points -to -win : 10
extras :
  show -scoreboard : true
  play -sounds : true
Messages
Code (Java):
general :
  prefix : '&7[&cStickFight&7]'
  server -full : '&cThe server is full.'
  server -stopping : '&cThe server is stopping.'
command :
  usage :
    - '%prefix% /stickfight setpos <1/2> - &cSet the player positions&7.'
    - '%prefix% /stickfight setspawn - &cSet the spawn point&7.'
    - '%prefix% /stickfight setspectator - &cSet the spectator spawn point&7.'
  successful :
    player -position - 1 : '%prefix% You set the player position &c1&7.'
    player -position - 2 : '%prefix% You set the player position &c2&7.'
    spawn -point : '%prefix% You set the &cspawn point&7.'
    spectator -spawn -point : '%prefix% &7You set the &cspectator spawn point&7.'
  failure :
    must -be -a -player : '%prefix% &cYou must be a player.'
    no -permissions : '%prefix% &cYou do not have enough permissions.'
countdown :
  lobby -countdown :
    countdown : '%prefix% The game starts in &c%seconds% &7seconds.'
    countdown -one : '%prefix% The game starts in &c%seconds% &7second.'
    countdown -reset : '%prefix% &cThe countdown has been reset.'
    countdown -end : '%prefix% All players will be teleported.'
  idle :
    idle : '%prefix% &c%missing% &7players are missing.'
    idle -one : '%prefix% &c%missing% &7player is missing.'
  prepare -countdown :
    countdown : '%prefix% The fight begins in &c%seconds% &7seconds.'
    countdown -one : '%prefix% The fight begins in &c%seconds% &7second.'
    countdown -end : '%prefix% The fight begins.'
  ending -countdown :
    countdown : '%prefix% The server will stop in &c%seconds% &7seconds.'
    countdown -one : '%prefix% The server will stop in &c%seconds% &7second.'
scoreboard :
  title : '&cPoints'
game :
  player -joined : '%prefix% &c%player%&7 has joined &c(%players%/2)&7.'
  player -left : '%prefix% &c%player%&7 has quit &c(%players%/2)&7.'
  player -left -while -playing : '%prefix% &c%player% &7has quit the game.'
  player -fell -down : '%prefix% &c%player%&7 fell down.'
  win :
    title : '&c%player% &7has won.'
    broadcast : '%prefix% &c%player% &7has won the game.'

Developer API

Code (Java):
    @EventHandler
    public void handlePlayerWon (PlayerWonEvent event ) {
        // do stuff here...
    }
 
    @EventHandler
    public void handlePlayerLost (PlayerLostEvent event ) {
        // do stuff here...
    }

Sneak Peek
Download (1).png
Resource Information
Author:
----------
Total Downloads: 48
First Release: Jan 26, 2023
Last Update: Jan 26, 2023
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings