Skip to content

Verrok/Dualist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dualist

Dualist 2.0 IS UNDER DEVELOPMENT (NEW FEATURES, CODE REFACTOR)

What is it

A duel plugin for minecraft

Usage

  • /duel <nickname> <bet>
  • /duel accept
  • /duel decline
  • /duel help

Permissions

  • dualist.use
  • dualist.help

Requirements

Dualist requires Vault to support economy (you basically can't launch plugin without it)

Now Dualist supports Minecraft versions 1.12

Available languages: English, Русский

Configuration

In config.yml you can find different settings for plugin

  • verbose - will debug information prints in console (default: true)
  • startDelay - time before duel starts (default: 10)
  • deathKeepInventory - determines whether player's inventory will be kept if he loses in a duel (default: true) (default: true)
  • deathKeepLevel - determines whether player's level will be kept if he loses in a duel (default: true)
  • damageFromOtherPlayer - can dueslists damage another players (default: false)
  • maxCallDistance - determines whether max distance between player to user command (default: 10)
  • maxDistance - determines whether max distance between player to end duel in a draw (default: 35)
  • lang - plugin language (default: "en")
  • preventUsingCommands - prevents using any command by player (default: true)
  • preventTeleport - prevents teleporting from plugin/server and some other reasons (default: true)

Languages

If you want to edit existing texts you need to edit en.yml or ru.yml on the langs folder

If you want to add new translation you need to create .yml file, copypaste the content of existing language and translate it (e.g. English to French) and change in config.yml lang property

In addition

  • If player leaves during the countdown - he loses
  • If players will teleport to another world - duel ends in a draw
  • Players can't hit each other during the countdown
  • Other players can't hit duelists (if damageFromOtherPlayer is false)

Todo list

  • Option that disallows using commands in duel
  • Option that disallows teleporting from plugins
  • Timer (and displaying the remaining time in boss bar)
  • Creating arenas (optional WorldGuard integration)
  • Item bets
  • Support higher Minecraft versions
  • Add switching to survival gamemode if player in creative
  • Exporting duel history in .db file (SQLite)
  • Test arrows/potions damage
  • Make plugin more flexible via config
  • Language support
  • Permissions (don't know exactly why)

Support

Jetbrains

Supported with license by Jetbrains opensource