Giter Site home page Giter Site logo

arenaplugin's Introduction

SpongeArenaPlugIn

Additional PlugIn for Sponge Server

This Version of the Arena Plugin Features a Floodmode limited to a configurable amount of an entity at a time.

Commands:

  • /arena start Starts the arena, based on the saved parameter.
  • /arena stop Stops the arena.
  • /arena create arena Creates arena for a existing area.
  • /arena create area Create a area, which will be the field where the enemies spawn. The Players
    Position will be the first spawnpoint
  • /arena chunk add Adds a chunk to the area.
  • /arena chunk remove Removes a chunk to the area.
  • /arena spawnpoint add Adds an additional spawnpoint where the enemies will spawn.
  • /arena spawnpoint remove Removes a spawnpoint from the area.
  • /arena list areas Lists all existing areas.
  • /arena list arenas Lists all existing arenas.
  • /arena information Shows the relevant information from a arena.
  • /arena set enemytype Sets the entitytype of the arena mobs.
  • /arena set enemyamount Sets the amount of enemies in the arena.
  • /arena option add Adds an arenaOption to the arena.
  • /arena option remove Removes an arenaOption from the arena.

ArenaOptions:

  • XP Prohibits XP dropping
  • DROP Prohibits Item dropping
  • BURNING Prevents entity taking damage from burning
  • BUILDING Prevents building in the area

Arenas and areas are getting saved in .conf Files

arenaplugin's People

Contributors

randalf98 avatar tbluef avatar

Stargazers

 avatar

Watchers

 avatar

arenaplugin's Issues

Starting arena without a player in area throws an error

[16:40:40 ERROR] [Sponge]: Error occurred while executing command 'startarena 1' for source EntityPlayerMP['Randalf98'/480, l='world', x=-32.70, y=74.00, z=361.28]: position
java.lang.NullPointerException: position
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787) ~[minecraft_server.1.12.2.jar:?]
at org.spongepowered.api.world.Location.(Location.java:111) ~[Location.class:1.12.2-7.1.5]
at org.spongepowered.api.world.World.getLocation(World.java:80) ~[World.class:1.12.2-7.1.5]
at io.github.randalf.project.arenaparts.spawner.FloodMode.getNextEntities(FloodMode.java:46) ~[FloodMode.class:?]
at io.github.randalf.project.arenaparts.spawner.ArenaSpawner.spawnEnemys(ArenaSpawner.java:44) ~[ArenaSpawner.class:?]
at io.github.randalf.project.arenaparts.spawner.ArenaSpawner.start(ArenaSpawner.java:86) ~[ArenaSpawner.class:?]
at io.github.randalf.project.arenaparts.Arena.startArena(Arena.java:56) ~[Arena.class:?]
at io.github.randalf.project.manager.ArenaManager.startArena(ArenaManager.java:38) ~[ArenaManager.class:?]
at io.github.randalf.project.commands.ArenaStartCommand.execute(ArenaStartCommand.java:28) ~[ArenaStartCommand.class:?]

Additional Options

  • Blocking Player from leaving area of active arena
  • Disabling the use of Enderpearl while in active arena

Starting method

  • /arena join arena which has to be active
  • /arena join arena starts and stops when player join/leave
  • /arena start permanently running

Round Mode

Round mode allows to save specific rounds for a arena. Each and every round contains an amount of monsters.

update onDeadEntity

The onDeadEntity(DestructEntityEvent event) function should evaluate on all dying entitys from the arena and spawn new entities based on all players in the arena.

Specified Mob

Specific settings and specialization can be set on an entity to make it a "boss" mob.

Reward system

Allows to set rewards for achieving a given requirement in an active arena round.

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.