Giter Site home page Giter Site logo

matatjahuu / propertyguilds Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loonypl/propertyguilds

0.0 0.0 0.0 68 KB

Guilds for Minecraft 1.13.2 server (still under construction, final form may be much different)

License: GNU General Public License v3.0

Java 100.00%

propertyguilds's Introduction

PropertyGuilds

Guild system for Minecraft 1.13.2 server

PropertyGuilds

Description

Guild system that operates fully asynchronously, meaning it does not block the server's main thread (XD). 
This allows the guild system to function faster and more smoothly, and the server can handle more players.
This plugin enables the creation and management of in-game guilds, including adding and removing players, setting guild ranks, establishing guild points, and much more. 
All of these features are available in-game, allowing players to fully utilize the guild system without the need for logging onto a website or using other tools.
The plugin operates fully asynchronously, so no additional configuration or settings are required, making it easy and quick to add the guild system to a Minecraft server. 
Additionally, the plugin is optimized for performance, meaning it uses minimal server resources and can handle large numbers of players simultaneously.
With this Minecraft plugin featuring a guild system, significant amounts of server resources can be saved, allowing even up to 1000 players on a server!!! 
The guild system also promotes player engagement in the game by adding new goals and opportunities, such as earning guild points, advancing to higher ranks, and battling other guilds.

Permissions:

  • propertyguilds.default - default plugin access
  • propertyguilds.reload - access to plugin reload

Commands:

  • /guilds - Guilds help
  • /guilds items - Opens gui with items needed to create guild
  • /guilds create [tag] [name] - Creates guild
  • /guilds invite [nick] - Invites player to guild
  • /guilds accept [tag] - Accepts guild invitation
  • /guilds decline [tag] - Declines guild invitation
  • /guilds kick [nick] - Kicks player from guild
  • /guilds ally invite [tag] - Sends ally invitation to guild
  • /guilds ally accept [tag] - Accepts ally invitation
  • /guilds ally decline [tag] - Declines ally invitation
  • /guilds ally remove [tag] - Removes guild's ally
  • /guilds leave - Leaves guild
  • /guilds delete [tag] - Deletes guild
  • /guilds info [tag] - Guild's info ([tag] isn't necessarily)
  • /guilds base - Teleports to guild's base
  • /guilds chat [global/guild/ally] - Toggles between chats
  • /guilds top - Shows top 10 guilds
  • /guilds reload - Reloads plugin

Configuration file (config.yml)

# PropertyGuilds plugin
# version: 0.1
# core: 1.13.2
# © loonypl (/deew, mc: krzysek)
# Permissions: propertyguilds.default, propertyguilds.reload
# MySQL configuration
#  host - MySQL server address
#  port - MySQL server port
#  user - MySQL server user
#  password - MySQL server password
#  database - the database must be create before plugin installation
mysql:
  host: 'localhost'
  port: '3306'
  user: 'root'
  password: '123'
  database: 'PropertyGuilds_plugin'
#
chat:
  # Enable chat formatting (color messages - propertyguilds.chatcolor)
  enable: true
  # Chat format
  # %guild-tag%, %guild-name%, %guild-points%, %name%, %kills%, %deaths%, %points%, %world%, %message%
  format: '&8[&c&f%guild-tag%&8] &8[&6%points%&8] &r%name% &6> &r%message%'
guild-chat:
  # Guild chat format
  # %guild-tag%, %guild-name%, %guild-points%, %name%, %kills%, %deaths%, %points%, %world%, %message%
  format: '&c&l%guild-tag% &r%name% &6> &r&o%message%'
ally-chat:
  # Ally chat format
  # %guild-tag%, %guild-name%, %guild-points%, %name%, %kills%, %deaths%, %points%, %world%, %message%
  format: '&a&l%guild-tag% &r%name% &6> &r&o%message%'
create-require-items:
  # Need items for creating guild
  enable: true
  # Gui size
  gui-size: 9
  # Items needed for creating guild (creating-require-items: true)
  list:
    - '16@DIAMOND'
    - '32@OBSIDIAN'
guild:
  # Tag lengths
  tag:
    # Min tag length
    min: 3
    # Max tag length
    max: 6
  # Name lengths
  name:
    # Min name length
    min: 3
    # Max name length
    max: 16
  # Property
  property:
    # Property radius
    radius: 10
    # World's spawn protection radius
    spawn-radius: 500
  # Points
  points:
    # Amount of guild points that guild starts with
    default: 0
  # Actions after successfully creating guild
  create:
    # Broadcast opts
    broadcast:
      # Send broadcast message
      enable: true
    # Private opts
    private:
      # Send private message
      enable: false
  # Actions after successfully deleting guild
  delete:
    # Broadcast opts
    broadcast:
      # Send broadcast message
      enable: true
    # Private opts
    private:
      # Send private message
      enable: false
  # Blocks options
  blocks:
    # Chests
    chests:
      # Allow chests opening
      allow-open: false
  # Cooldowns
  cooldowns:
    # Base teleportation cooldown
    base-teleport: 5
  # Damage
  damage:
    # Allow to deal damage between guild members
    friendly-fire:
      enable: false
    # Allow to deal damage between alliances
    alliances:
      enable: false
# Points
points:
  # Points for kill
  kill:
    # Points for killing player without guild
    player-without-guild: 5
    # Points for killing player with guild
    player-with-guild: 10
    # Points for kill that goes to player's guild [is he has]
    to-guild: 5
  # Points for death
  death:
    # Points for death (player without guild)
    player-without-guild: -5
    # Points for death (player with guild)
    player-with-guild: -10
    # Points for death that goes to player's guild [if he has]
    to-guild: -5

Configuration file (lang.yml)

# PropertyGuilds plugin
# version: 0.1
# core: 1.13.2
# © loonypl (/deew, mc: krzysek)
# Permissions: propertyguilds.default, propertyguilds.reload
console-execute: 'You cannot execute this command from console state'
no-permission: '&cYou do not have access to this command'
wrong-syntax: '&cWrong syntax ! &f/guilds'
plugin-reload: '&aPlugin has been reloaded'
guilds-help:
  - '&e/guilds &7- &fGuilds help'
  - '&e/guilds items &7- &fItems needed for creating guild'
  - '&e/guilds create [tag] [name] &7- &fCreate guild'
  - '&e/guilds invite [nick] &7- &fInvite player to guild'
  - '&e/guilds accept [tag] &7- &fAccept guild invite'
  - '&e/guilds decline [tag] &7- &fDecline guild invite'
  - '&e/guilds ally invite [tag] &7- &fSent ally invite to guild'
  - '&e/guilds ally accept [tag] &7- &fAccept guild ally invite'
  - '&e/guilds ally decline [tag] &7- &fDecline guild ally invite'
  - '&e/guilds ally remove [tag] &7- &fRemove guild ally'
  - '&e/guilds leave &7- &fLeave guild'
  - '&e/guilds kick [nick] &7- &fKick guild member'
  - '&e/guilds delete [tag] &7- &fDelete guild'
  - '&e/guilds info [tag] &7- &fGuild info'
  - '&e/guilds base &7- &fTeleport to guild base'
  - '&e/guilds chat [global/guild/ally] &7- &fSwitch between chats'
  - '&e/guilds top &7- &fTop 10 guilds'
  - '&e/guilds reload &7- &fReload plugin'
none-create-require-items: '&cYou do not need any items for creating guild'
create-require-items-gui-name: '&a&lRequired items'
has-guild: '&cYou are already in guild'
has-not-guild: '&cYou do not belong to any guild'
guild-not-exists: '&cGuild %tag% does not exists'
cannot-break: '&cThis block belongs to guild property'
guild:
  tag:
    length: '&cTag length must be &f>= %min% &cand &f<= %max%'
    exists: '&cGiven tag is already in-use'
  name:
    length: '&cName length must be &f>= %min% &cand &f<= %max%'
    exists: '&cGiven name is already in-use'
  property:
    exists: '&cYou can not create guild on property of another one'
    too-close: '&cYou are too close to property of another guild. You have to be at least &f%distance% &cblocks away from there'
    too-close-spawn: '&cYou are too close to spawn. You have to be at least &f%distance% &cblocks away from spawn'
    entered: '&cYou entered &7%tag% &cguild property'
    left: '&aYou left &7%tag% &aguild property'
  items:
    not-enough: '&cYou dont have enough items to create guild &f/guilds items'
  create:
    broadcast:
      message: '&8[&f%tag%&8] &f%name% &aguild has been created by &f%leader% &a!'
    private:
      enable: true
      message: '&8[&f%tag%&8] &f%name% &aguild has been created by &f%leader% &a!'
  delete:
    not-leader: '&cYou are not leader of this guild'
    broadcast:
      message: '&8[&f%tag%&8] &f%name% &cguild has been deleted by &f%leader% &c!'
    private:
      enable: true
      message: '&8[&f%tag%&8] &f%name% &cguild has been deleted by &f%leader% &c!'
  blocks:
    chests:
      cannot-open: '&cYou can not open chests that belongs to other guilds'
  teleport:
    base:
      remaining: '&aYou will be teleported to guild base in &f%time% seconds&a. Do not move'
      abort: '&cBase teleportation has been aborted'
      done: '&aYou have been teleported to your guild base'
      already: '&aWait for teleport. Do not move'
  chat:
    global-toggle: '&aToggled to global chat'
    guild-toggle: '&aToggled to guild chat'
    ally-toggle: '&aToggled to ally chat'
  invite:
    not-leader: '&cYou are not leader of your guild'
    offline: '&cThere is no online player with this nickname'
    has-guild: '&cThis player already has guild'
    already: '&cThis player is already invited'
    sent: '&aYou have invited &f%invited% &ato guild'
    recieved: '&aYou have been invited to &f%guild% &aguild'
    already-member: '&cYou are already in guild'
    guild-not-exists: '&cGuild with this tag does not exists'
    not-invited: '&cYou have not been invited to this guild'
    accepted: '&f%invited% &aaccepted invitation to guild'
    success-accepted: '&aYou have accepted &f%guild% &aguild invite'
    declined: '&f%invited% &cdeclined invitation to guild'
    success-declined: '&cYou have declined &f%guild% &cguild invite'
  leave:
    leader: '&cYou can not leave a guild while being its leader'
    left: '&cYou have left &f%guild% &cguild'
    broadcast:
      enable: true
      left: '&f%player% &cleft &f%guild% &cguild'
  kick:
    leader: '&cYou are not guild leader'
    has-not-guild: '&cThis player has not guild'
    not-belong: '&cThis player do not belong to your guild'
    leader-given: '&cYou can not kick leader'
    kicked: '&f%player% &chas been kicked from your guild'
    kick-recieve: '&cYou have been kicked from &f%guild% &cguild'
  damage:
    friendly-fire:
      message: '&cYou can not hurt guild members'
    alliances:
      message: '&cYou can not hurt alliances of your guild'
  ally:
    leader: '&cYou are not guild leader'
    guild-not-exists: '&cGuild with this tag does not exists'
    already-allied: '&cYour guild is already allied with this guild'
    already-sent: '&cYour guild have already sent ally invite to this guild'
    leader-not-online: '&cLeader of &f%guild% &cguild is not online'
    own-guild: '&cYou can not sent ally invite to your own guild'
    sent: '&aAlly invitation has been sent to &f%guild% &aguild'
    ally-recieve: '&f%guild% &ahas sent your guild ally invitation'
    not-recieved: '&cYour guild has not recieved ally invitation from this guild'
    declined: '&cYour guild has declined ally invitation from &f%guild% &cguild'
    accepted: '&aYour guild has accepted ally invitation form &f%guild% &aguild'
    accepted-recieve: '&f%guild% &aguild has accepted your guild ally invitation'
    not-allied: '&cYour guild has not allied with &f%guild% &cguild'
    remove:
      removed-ally: '&cYour guild has removed guild ally &f%guild%'
      broadcast:
        enable: true
        message: '&f%remover% &cguild has removed guild ally with &f%ally% &cguild'
guild-info:
  tag: 'Tag'
  name: 'Name'
  leader: 'Leader'
  members-list: 'Members list'
  alliances-list: 'Alliances list'
  members: 'Members'
  alliances: 'Alliances'
  points: 'Points'

Have any new ideas ? Share it at https://github.com/loonypl/PropertyGuilds/issues

propertyguilds's People

Contributors

loonypl avatar matatjahuu 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.