Sueta

Mine Systems

1.2

Plugin for creating advanced mines

·Plugin

Description
This is a simple system for creating, editing and refilling mines for players on your server!

Features

  • Fully translatable
  • Disable any item in the mines
  • Disable worlds in which you do not want mines
  • Create mine using the Selection tool (in-game)
  • You can change the material in the mine whenever you want

Permissions:

minesystems.refill.all --- Allows you to refill all mines /ms refill all
minesystems.refill.one --- Allows you to refill one mine /ms refill <mine_name>
minesystems.refill.bypass --- It won't take you money when refilling mines
minesystems.admin.create --- Allows you to create new mines /ms admin create <mine_name>
minesystems.admin.delete --- Allows you to delete mines /ms admin delete<mine_name>
minesystems.admin.too l --- Allows you to use /ms admin tool
minesystems.admin.setmaterial --- Allows you to use / ms admin setmaterial <mine_name> <MATERIAL>
minesystems.reload --- Allows you to use /ms reload

How to create mine:

  1. Take the Selection tool /ms admin tool
  2. Select two corners (just like with worldedit)
  3. Execute command /ms admin create <mine_name> <MATERIAL>
  4. Refill mine! /ms refill <mine_name>

You can change material of the mine with command /ms admin setmaterial <mine_name> <MATERIAL>
For material names go here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html

Examples:

Config.yml
Options: 
  Mine: 
    DisabledItems: 
      ExampleItem: 
        Material: DIAMOND_AXE 
        Name: '&2This is an &aexample item' 
    PlayerRefill: 
      Enabled: true 
      RefillALL-command: eco take @p 3000 
      RefillOne-command: eco take @p 500 
      CommandEnabled: true 
    DisabledWorlds: 
    - example_world 
  HideErrors: false 
HelpFormat: '%prefix% %command% >> %help%'
Translation.yml
Mine: 
  Reffilled: '%prefix% &aMine &2%mine% &arefilled!' 
  NeedToSet: '%prefix% &aYou must select &2%point% &apoint to create new mine!' 
  Created: '%prefix% &aMine &2%mine% &asuccessfully created at &2%loc1% &aand &2%loc2%!' 
  NoExist: '%prefix% &aMine &2%mine% &adoes not exist!' 
  NameNull: '%prefix% &aMine name cannot be empty!' 
  DisabledItem: '%prefix% %item% &4is not allowed in this mine!' 
  ReffilledALL-broadcast: '%prefix% &aPlayer &2%player% &arefiled ALL mines!' 
  MaterialNotSet: '%prefix% &4Error &aMaterial of mine &2%mine% &ais not set!!' 
  PlayerRefillIsDisabled: '%prefix% &aPlayers cannot refill mines!!' 
  MaterialSet: '%prefix% &aMaterial of the mine &2%mine% &awas set to &2%material%' 
  LocSet: '%prefix% &aSelected &2%point% &apoint &aX:&2%x% &aY:&2%y% &aZ:&2%z%' 
  Deleted: '%prefix% &aMine &2%mine% &awas &2deleted&a!' 
  Exist: '%prefix% &aMine &2%mine% &aalready exists!' 
Help: 
  Mine: 
    Delete: '&fDelete an existing mine ... ' 
    Tool: '&fGive you a mine selection tool ...' 
    SetMaterial: '&fSets the material for each mine ...' 
    Refill-ALL: '&fRefill all mines ...' 
    Create: '&fCreate new mine ...' 
    Refill-One: '&fRefil one mine ...' 
  Reload: '&fReload configs ...' 
NotPermissionsMessage: '&4You do not have permissions for this!' 
ConfigsReloaded: '%prefix% &aConfigs reloaded...' 
Prefix: '&2&lMine &a&lSystems &8&l»' 
ConfigsReloading: '%prefix% &f----------&a Reloading configs&f ----------'
Disabled items example
Options: 
  Mine: 
    DisabledItems: 
      ExampleItem: 
        Material: DIAMOND_AXE 
        Name: '&2This is an &aexample item' 
      ExplosivePickaxe: 
        Material: DIAMOND_PICKAXE 
        Name: '&eExplosive pickaxe'

Similar projects

Plugin →