Git Product home page Git Product logo

clanslite's Introduction

ClansLite

ClansLite is a light-weight clans plugin for Minecraft servers running Spigot or any of its forks!

ClansLite does not support any grief prevention tools such as land claiming or securing containers within your clan.

ClansLite DOES however offer the ability to disable friendly fire within your clan!

/clan command

Aliases: /clans, /c

The /clan command is the main command of the plugin, with /clan you can do the following:

  • /clan create <name> - Creates A new clan if not already in one
  • /clan disband - If you are the clan owner, this will destroy your clan
  • /clan invite <player> - Will invite a player to your clan if they are not already in one
  • /clan kick <player> - Will kick a player from your clan
  • /clan info - Will display information about your current clan
  • /clan list - Will list all clans in the server
  • /clan prefix <prefix> - Will change the prefix for your clan in chat
  • /clan ally [add|remove] <ally-owner> - Will either add or remove an allied clan to yours
  • /clan pvp - Will toggle the friendly fire status for your clan
  • /clan [sethome|home] - Will set a clan home location or teleport you or you clan members to this location.

/clanadmin command

Aliases: /ca

The /clanadmin command is purely for server admins only.

2 arguments are implemented which are:

  • /clanadmin save - which will save all current clan info to the clans.yml data file.
  • /clanadmin reload - This reloads the plugins config.yml & the messages.yml files from disk.

Permissions

ClansLite comes with 4 permissions:

  • clanslite.*
  • clanslite.clan
  • clanslite.admin
  • clanslite.update

clanslite.* is a permission to allow access to ALL functions regardless of operator status. clanslite.clan is by default given to everyone so they can all create, edit and manage a clan.
clanslite.admin is by default given to server operators. clanslite.update is the permission node to allow a player to see in game notifications if there is a plugin update available.

Config

The max clan size (by default is 8), can be managed in the plugins/ClansLite/config.yml file.

The max clan allies (by default is 4), can be managed in the plugins/ClansLite/config.yml file.

Chat prefix

ClansLite exposes a variable of {CLAN} to use in Essentials Chat or similar.

PlaceholderAPI

ClansLite exposes 4 external placeholders using PlaceholderAPI to enable the fetching of a players clan name or the clan prefix. The two available placeholders are:

  • %clansLite_clanName%
  • %clansLite_clanPrefix%
  • %clansLite_friendlyFire%
  • %clansLite_clanHomeSet%

To be able to use these The latest release of PlaceholderAPI MUST be installed! Without it, only the above {CLAN} will be available.

###Please report any issues in GitHub and feel free to join my discord.

###Thank you for using my plugin!

clanslite's People

Contributors

gamlinuk avatar jgreatorex avatar loving11ish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

loving11ish

clanslite's Issues

error in console

[01:39:59 INFO]: B_Mimic16182 issued server command: /clan join
[01:39:59 INFO]: [ClansLite] 00000000-0000-0000-0009-01f13112617c
[01:39:59 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'clan' in plugin ClansLite v1.3.8
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.dispatchCommand(CraftServer.java:906) ~[paper-1.19.4.jar:git-Paper-460]
at org.bukkit.craftbukkit.v1_19_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.19.4.jar:git-Paper-460]
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:264) ~[paper-1.19.4.jar:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:322) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:306) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2280) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$20(ServerGamePacketListenerImpl.java:2240) ~[?:?]
at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.4.jar:git-Paper-460]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1341) ~[paper-1.19.4.jar:git-Paper-460]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.19.4.jar:git-Paper-460]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1318) ~[paper-1.19.4.jar:git-Paper-460]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1311) ~[paper-1.19.4.jar:git-Paper-460]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1289) ~[paper-1.19.4.jar:git-Paper-460]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1177) ~[paper-1.19.4.jar:git-Paper-460]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.19.4.jar:git-Paper-460]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Player.getUniqueId()" because "player" is null
at xyz.gamlin.clans.utils.ClansStorageUtil.findClanByOwner(ClansStorageUtil.java:174) ~[ClansLite-1.3.8.jar:?]
at xyz.gamlin.clans.commands.clanSubCommands.ClanJoinSubCommand.clanJoinSubCommand(ClanJoinSubCommand.java:37) ~[ClansLite-1.3.8.jar:?]
at xyz.gamlin.clans.commands.ClanCommand.onCommand(ClanCommand.java:117) ~[ClansLite-1.3.8.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
... 23 more

ClanLite latest version 1.3.8
This server is running Paper version git-Paper-460 (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: 662b85e)

"Player is connected via geysermc I don't know if this is relevant."

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.