GithubHelp home page GithubHelp logo

tuffdev / pocketmine-1vs1-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from minifixio/pocketmine-1vs1-plugin

1.0 2.0 0.0 42 KB

1vs1 pocketmine plugin.

License: Apache License 2.0

PHP 100.00%

pocketmine-1vs1-plugin's Introduction

1vs1 plugin by Minifixio

Description:

You want to make 1vs1s on your MCPE server ? This plugin is for you !

Cool things: -> Multi arenas system -> Auto queue management -> Statistics signs

How to use:

-> First, you'll need to reference your(s) arena(s) doing /refarena on the middle of your arena. The players will spawn 5 blocks from the middle of the arena (see example below). You can make an unlimited numbers of arenas. All the arenas’s positions are saved in the config.yml file.

-> Then, the players can start a duel doing /match, a countdown before the fight will start (only 2 players per arena) and they will be teleported in an arena and they will get a sword, armor and food and all their effects will be removed for fight. The fight last 3 minutes and at the end of the timer if there is no winners, the duel ends and the players are teleported back to the spawn.

-> You can place a sign and write on the 1st line : « [1vs1] » to have a 1vs1 stats sign with the numbers of active arenas and the number of the players in the queue. The signs refreshes every 5 seconds.

Technical:

-> After a fight, the players are teleported back to the spawn of the default level server.

-> When a player quit in a fight, his opponent win.

-> The arenas and the 1vs1’s signs positions are stored in the config.yml file.

-> When a player quit during the start match countdown, the match stops.

Commands:

-> /match : join the 1vs1 queue -> /refarena : reference a new arena.

Notes:

-> Maybe you will find some mistakes in my plugin documentation, it’s just because i’m not english (french :c).

-> You can only change the messages in the plugin source but soon you will can change it in a message config file.

-> You will able to change the spawn distance in a arena and the timers for the matches in an update soon.

-> Any remarks ? Tell me it for a better world x) !

pocketmine-1vs1-plugin's People

Contributors

applqpak avatar clegallic avatar minifixio avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.