GithubHelp home page GithubHelp logo

skywars's Introduction

Skywars

A Minecraft plugin that adds the Skywars minigame. Compatible with Bukkit and Spigot, from versions 1.8 upwards.

Codacy Badge GitHub last commit version view on SpigotMC

Table of Contents

  1. How to install
  2. How to use
  3. Current features
  4. To do
  5. Compatibility issues

How to install

To install the plugin, drag the .jar file to your server's plugins folder.
The plugin does not need any other dependencies as it should work by itself.
You can start or reload the server after installing the plugin.

How to use

Type /sw help to see the available commands.
Add maps into the "worlds" folder; the plugin will
load the worlds and create the configuration files for their maps.

To disable the default lobby scoreboard,
set the value of lobby in the scoreboard.yml file to false.

If the plugin doesn't have a main lobby set,
players will be teleported to the last location they were at.
If it is set, then they will be teleported to it.

How to play

Type /sw play to open the arenas menu and click an arena to join.
Type /sw start to start the game countdown.
Type /sw forcestart to start the game immediately.

Creating an arena

To create an arena, type /sw create
After creating the arena, type /sw config to open the configuration menu
You can configure most of the values of the arena on the configuration menu,
and for the ones you can't find, you can refer to the arena's configuration file.
Make sure to select a world folder.
To load an world folder, put it inside the worlds folder inside the plugin folder
You can set the arena's world through the configuration menu

Creating signs

To create a sign, make it like this:

  • 2nd line: [SkyWars]
  • 3rd line: the arena name.

* The casing of the signs is not relevant; there cannot be two arenas with the same name but different casing.

Sign image

To remove a sign, sneak (shift) while on creative mode and left click.

Plugin hooks

The plugin will hook to other plugins to add extra functionality.

Economy

Current economy features:

  • Coins

Currently implemented economy plugin APIS (Skywars.java):

  • Vault

Holograms

Current hologram features:

  • Holograms above chests to indicate refill time.

Currently implemented hologram plugins APIs (HologramController.java):

  • HolographicDisplays
  • DecentHolograms

Current features

  • Maps
  • Kits
  • Easy map setup menu
  • Custom language file (not 100% of the messages, still working on it)
  • Configuration options
  • Chest refills
  • 1.13+ compatible (still working on it, but it kinda works)
  • Vault support (economy)

To do

  • More game events
  • More configuration options
  • Party options (?)
  • Team games
  • Custom cases (schematic)
  • Ability to buy kits (inside and outside a game)
  • Ability to change case (inside and outside a game)
  • Game options (time, weather, chests, etc)
  • Code optimization
  • Plugin API events and methods

Compatibility issues

  • Schematic files
    The plugin no longer works with schematic files.
    I've decided to drop support for these type of files
    for various reasons like compatibility.
    I may consider implementing a new system for this.
    For now, the plugin works with world files.
  • Actionbar messages on Bukkit
    do not work because of Bukkit limitations on message sending.
    If you find a way to send an actionbar message on Bukkit, please open an issue or a pull request.

Contact me in Discord: brunorm

skywars's People

Contributors

angelcmhxd avatar thebrunorm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

skywars's Issues

Quest and Ranked Mode

Itis look like hypixel
Quest:
Game end
Game Win
Game kill
Ranked mode is a elo mode
pls add this

ADD BUNGEECORD MODE!

Add BungeeCord mode support. For example, when a game is waiting for the player to enter, motd will display Waiting. When a game is in progress, motd will display IN GAME.Transfers players directly to the game room when they join a game server

Support for .schema files in addition to .schematic

I know this is probably asking a lot ๐Ÿ™‚ but it would be amazing if this plugin could be enhanced to support the newer .schem format. Creating .schematic files appears to be getting harder as it's such an old format now, which means that leveraging any arenas you create yourself seems to be very difficult (unless I am missing something - which is entirely possible).

When I attempt (long-shot) to use a schem file created from the latest version of WorldEdit (7.2.10) an enormous amount of IOException stack traces get printed:

[Server thread/WARN]: java.io.IOException: Invalid tag type: 11.
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:170)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:102)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:160)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:149)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:102)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:160)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:102)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:80)
[Server thread/WARN]:         at me.brunorm.skywars.schematics.SchematicHandler.loadSchematic(SchematicHandler.java:356)
[Server thread/WARN]:         at me.brunorm.skywars.structures.SkywarsMap.loadSchematic(SkywarsMap.java:258)
[Server thread/WARN]:         at me.brunorm.skywars.structures.SkywarsMap.getSchematic(SkywarsMap.java:265)
[Server thread/WARN]:         at me.brunorm.skywars.structures.Arena.isInBoundaries(Arena.java:593)
[Server thread/WARN]:         at me.brunorm.skywars.structures.Arena.isInBoundaries(Arena.java:589)
[Server thread/WARN]:         at me.brunorm.skywars.events.Events.onMove(Events.java:49)
...

If this is too big an enhancement request then I totally get it, but I I thought I would ask (even though you mention this format incompatibility on your main GitHub page for this plugin).

Something is not working properly

  • Plugin version: 0.3.2.1.1
  • Server version: 1.19.3
  • Server software: Paper
  • Client version (game version): 1.19.3
    i cant disable The Scoreboard and the scoreboard is inside my hub
    and its like flickering?
    and i use DeluxeHub
    image

NMS not working in 1.18.x

This is a really awesome plugin -- thank you -- but it doesn't appear to be fully compatible with the new 1.18.x Minecraft server versions unfortunately. I think this may be due to NMS package incompatibilities, but am not 100% sure.

Steps to reproduce the behavior:

  1. Install the plugin into your Minecraft 1.18.1 or 1.18.2 server
  2. Start the server
[Server thread/INFO]: [Skywars] Enabling Skywars v0.2.8
[Server thread/INFO]: [Skywars-NMS-Debug] Loading old ChatSerializer
[Server thread/INFO]: [Skywars-NMS-Debug] Loading new ChatSerializer
[Server thread/INFO]: [Skywars-NMS-Debug] Could not load ChatSerializer
[Server thread/INFO]: [Skywars-NMS-Debug] Loading ChatBaseComponent Interface
[Server thread/INFO]: [Skywars-NMS-Debug] Could not load ChatBaseComponent Interface
[Server thread/INFO]: [Skywars-NMS-Debug] Loading PacketPlayOutTitle
[Server thread/INFO]: [Skywars-NMS-Debug] Could not load PacketPlayOutTitle
[Server thread/INFO]: [Skywars-NMS-Debug] Loading PacketPlayOutChat
[Server thread/INFO]: [Skywars-NMS-Debug] Could not load PacketPlayOutChat
[Server thread/INFO]: [Skywars-NMS-Debug] Loading old EnumTitleAction
[Server thread/INFO]: [Skywars-NMS-Debug] Loading new EnumTitleAction
[Server thread/INFO]: [Skywars-NMS-Debug] Could not load EnumTitleAction
[Server thread/INFO]: [Skywars-NMS-Debug] Loading ChatMessageType
[Server thread/INFO]: [Skywars-NMS-Debug] Could not find ChatMessageType
  1. Start a Skywars game, and then you see a bunch of NPE's in the log indicating that chatSerializer in NULL, generated most likely from the code below from NMSHandler.java
		try {

			Method a = chatSerializer.getMethod("a", String.class);
			...

A clear and concise description of what you expected to happen: No NPEs during the game

Versions (please complete the following information):

  • Plugin version: 0.28
  • Server version: 1.18.2

It would be really cool if this plugin could be updated for the latest Minecraft server versions ๐Ÿ˜„

Bug Report: scoreboardWorlds does not actually choose in what worlds will the scoreboard appear.

Describe the bug
The newly added feature to select in which worlds will the scoreboard appear, does not work.

To Reproduce
Make sure you have a server with 2 or more worlds.

  1. Into the config file, type the name of only one world and save it.
  2. Start the server and teleport to the world you typed in.
  3. You see the scoreboard as expected.
  4. Teleport to the other world and you see the scoreboard there too.

Expected behavior
Scoreboard only shows in selected worlds.

Additional context
Nothing more.

Screenshots
image
image
image

Versions (please complete the following information):

  • Plugin version: Latest
  • Server version: 1.19.3
  • Server software: Bukkit (PaperMC Latest)
  • Client version (game version): 1.19.2 (Using ViaVersion)

MORE INFO::
Here is my plugin list if that helps.
image

Okay, I think I found the issue. I suppose you forgot to remove the example worlds in the SkywarsScoreboard.java file.
image
I do not code in java so I don't know how to patch that..

Feature request: Select in what worlds will the scoreboard show.

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
A section in config.yml that would allow us to change in what worlds does the scoreboard show.

Describe alternatives you've considered
No alternatives.

Additional context
Nothing more.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.