Giter Site home page Giter Site logo

roinujnosde / simpleclans Goto Github PK

View Code? Open in Web Editor NEW
45.0 3.0 32.0 19.54 MB

Full featured Clan system for Minecraft

Home Page: https://www.spigotmc.org/resources/simpleclans.71242/

License: GNU General Public License v3.0

Java 100.00%
bukkit spigot plugin minecraft clans

simpleclans's Introduction

SimpleClans Logo

SimpleClans

Full featured clan system for PVP Minecraft Servers!

Build Status Spiget Downloads Issues Crowdin Discord bStats Servers bStats Players

Download Link

Documentation

Support & Suggestions

Developers

Including SimpleClans with Maven:

<repositories>
    <repository>
        <id>roinujnosde-repo</id>
        <url>https://repo.roinujnosde.me/releases/</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>net.sacredlabyrinth.phaed.simpleclans</groupId>
        <artifactId>SimpleClans</artifactId>
        <version>2.18.1</version> <!-- You can find the latest version at the bottom -->
        <scope>provided</scope>
    </dependency>
</dependencies>

Using Gradle:

repositories {
    maven {
        url  "https://repo.roinujnosde.me/releases/" 
    }
}
dependencies {
    compileOnly "net.sacredlabyrinth.phaed.simpleclans:SimpleClans:2.18.1"
}

Feel free to learn our Javadoc.

Latest version:

Maven metadata URL

API Examples

simpleclans's People

Contributors

anonymousdr avatar badreuben avatar bot-wolf avatar dallabona avatar dandielo avatar docdoc avatar gavster4 avatar github-actions[bot] avatar hugosilvaf avatar izzelaliz avatar kealper avatar knight-ryu12 avatar marcelo-mason avatar matgsan avatar maxammann avatar mdelgadoccm avatar mehmet-27 avatar miraclem4n avatar net32 avatar nishikiyama avatar peng1104 avatar psithief avatar robomwm avatar roinujnosde avatar skelletonxx avatar sleiss avatar srbedrock avatar tomlewis avatar tomut0 avatar xtomyserrax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

simpleclans's Issues

2.13.0 Not saving MySQL changes on restart/plugin reload on Paper 1.12.2

Describe the bug
Ahoy! We have quite a big bug, I did a big upgrade from 2.7.23 to 2.13.0 which included my requested crew ranks & permissions which we have been looking forwards too for ages! Which is fantastic, the slight issue is no changes are being saved when I reload the plugin in game or the server restarts.

Changes are held in memory, like crews creating ranks, adding permissions, adding or removing people, but when a restart happens none of it is saved.

I also found the same issue when I edited the MySQL database manually when i tried to figure out why a crews balance disappeared, before I could change it in the database then /crew reload and it would update in-game, instead when I did the /crew reload the database changed back to 0. Its as if it was using loaded memory and saving that into the database? complete guess.

To Reproduce 1
Steps to reproduce the behavior:

  1. Run 2.13.0 on paper 1.12.2
  2. In one of your crews add someone, give them a new rank and give that rank permissions
  3. Restart the server
  4. All changes will be lost.

To Reproduce 2
Steps to reproduce the behavior:

  1. Run 2.13.0 on paper 1.12.2
  2. Change a record in MySQL
  3. Run /clan reload in-game
  4. All changes will be lost/reverted in the database.

Expected behavior
For data to be saved properly.

Software (please complete the following information):

  • Server: paper 1.12.2
  • Plugin version 2.13.0

Optional Default Rank

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
I would like to be able to automatically rank members in my clan. See context.

Describe alternatives you've considered
None.

Additional context
Basically, I want to make a clan where every member in my clan is able to invite other members. So it's kind of like a, "you've been nominated to join the clan" type thing. The solution for this I've come up with is to create a rank called "invite" with the "invite" permission. My problem comes into play when I invite new members - I cannot automatically assign them to the invite rank. Hence, default ranks! :)

Erro ao usar a opção cache-player-heads: true

Describe the bug
Erro ao desligar o servidor usando opção cache-player-heads: true.
[13:09:35 ERROR]: Nag author: 'Phaed' of 'SimpleClans' about the following: This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw errors during the final shutdown logs and might not complete before process dies.

To Reproduce
Steps to reproduce the behavior:

  1. Nas configurações adicione cache-player-heads: true
performance:
  cache-player-heads: true
  save-periodically: false
  save-interval: 10
  use-threads: true
  use-bungeecord: false
  1. Desligue o servidor.

Expected behavior
Nenhum erro ao desligar o servidor.

Software (please complete the following information):

  • Server: Paper 1.16.1
  • Plugin version 2.13.1

TagChangeEvent

Clan, old and new tags, player, cancellable

On ClanCreate the old tag will be null

KDR is not counted

  1. When killing a player, KDR is not counted as well as death

  2. No errors

Config:
`safe-civilians: false
tag:
default-color: '8'
max-length: 5
bracket:
color: '8'
leader-color: '4'
left: ''
right: ''
min-length: 2
separator:
color: '8'
leader-color: '4'
char: ' .'
settings:
enable-gui: true
disable-messages: false
tameable-mobs-sharing: false
teleport-blocks: false
teleport-home-on-spawn: false
drop-items-on-clan-home: false
keep-items-on-clan-home: false
item-list: []
show-debug-info: true
mchat-integration: true
enable-auto-groups: true
chat-compatibility-mode: true
rival-limit-percent: 50
use-colorcode-from-prefix-for-name: true
display-chat-tags: true
unrivable-clans:

  • admin
  • staff
  • mod
    show-unverified-on-list: false
    blacklisted-worlds: []
    banned-players: []
    disallowed-tags:
  • vip
  • clan
    language: ru
    user-language-selector: true
    disallowed-tag-colors:
  • '4'
    server-name: '&4SimpleClans'
    new-clan-verification-required: true
    allow-regroup-command: true
    allow-reset-kdr: false
    rejoin-cooldown: 60
    rejoin-cooldown-enabled: false
    accept-other-alphabets-letters-on-tag: false
    ranking-type: DENSE
    lore-length: 36
    kdr-grinding-prevention:
    enable-max-kills: false
    max-kills-per-victim: 10
    enable-kill-delay: false
    delay-between-kills: 5
    list:
    size: size
    kdr: kdr
    name: name
    founded: founded
    active: active
    asc: asc
    desc: desc
    default: kdr
    commands:
    more: more
    ally: ally
    clan: clan
    accept: accept
    deny: deny
    global: global
    clan_chat: .
    force-priority: true
    economy:
    creation-price: 100.0
    purchase-clan-create: false
    verification-price: 1000.0
    purchase-clan-verify: false
    invite-price: 20.0
    purchase-clan-invite: false
    home-teleport-price: 5.0
    purchase-home-teleport: false
    home-teleport-set-price: 5.0
    purchase-home-teleport-set: false
    home-regroup-price: 5.0
    purchase-home-regroup: false
    unique-tax-on-regroup: true
    issuer-pays-regroup: true
    money-per-kill: true
    money-per-kill-kdr-multipier: 10
    purchase-reset-kdr: true
    reset-kdr-price: 10000.0
    purchase-member-fee-set: false
    member-fee-set-price: 1000.0
    member-fee-enabled: false
    max-member-fee: 200.0
    upkeep: 200.0
    upkeep-enabled: false
    multiply-upkeep-by-clan-size: false
    charge-upkeep-only-if-member-fee-enabled: true
    kill-weights:
    rival: 2.0
    civilian: 1.0
    neutral: 1.0
    deny-same-ip-kills: false
    clan:
    homebase-teleport-wait-secs: 10
    homebase-can-be-set-only-once: true
    min-size-to-set-rival: 3
    max-length: 25
    max-description-length: 120
    min-description-length: 10
    max-members: 25
    confirmation-for-promote: false
    trust-members-by-default: false
    confirmation-for-demote: false
    percentage-online-to-demote: 100.0
    ff-on-by-default: false
    min-length: 2
    max-alliances: -1
    min-size-to-set-ally: 3
    min-to-verify: 1
    tasks:
    collect-upkeep:
    hour: 1
    minute: 30
    collect-upkeep-warning:
    hour: 12
    minute: 0
    collect-fee:
    hour: 1
    minute: 0
    page:
    untrusted-color: '8'
    clan-name-color: b
    subtitle-color: '7'
    headings-color: '8'
    trusted-color: f
    leader-color: '4'
    separator: '-'
    size: 100
    clanchat:
    enable: true
    tag-based-clan-chat: false
    announcement-color: e
    format: '&b[%clan%&b] &4<%nick-color%%player%&4> %rank%: &b%message%'
    rank: '&f[%rank%&f]'
    leader-color: '4'
    trusted-color: f
    member-color: '7'
    request:
    message-color: b
    ask-frequency-secs: 60
    max-asks-per-request: 1440
    bb:
    color: e
    accent-color: '8'
    show-on-login: true
    size: 6
    login-size: 6
    allychat:
    enable: true
    format: '&b[Ally Chat] &4<%clan%&4> <%nick-color%%player%&4> %rank%: &b%message%'
    rank: '&f[%rank%&f]'
    leader-color: '4'
    trusted-color: f
    member-color: '7'
    purge:
    inactive-player-data-days: 30
    inactive-clan-days: 7
    unverified-clan-days: 2
    mysql:
    username: ''
    host: localhost
    port: 3306
    enable: false
    password: ''
    database: ''
    permissions:
    auto-group-groupname: false
    YourClanNameHere:
  • test.permission
    performance:
    save-periodically: true
    save-interval: 10
    use-threads: true
    use-bungeecord: false
    `
    Help settings

Core: CraftBukkit version git-Spigot-db6de12-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
SimpleClans: simpleclans-mc1.8-2.13.1

Adicionar API PaperLib para teleporte async

Sugestão

Devido a mudanças no carregamento de chunks na versão 1.14, o mesmo se tornou extremamente danoso a performance de servidores nas ultimas versões, para mitigar o impacto, seria interessante adicionar o sistema de carregamento de chunks e teleporte de jogadores async ao utilizar os comandos como /clan base.

Todas as informações necessárias: https://github.com/PaperMC/PaperLib

O melhor de tudo é que a API possui compatibilidade para quem não utiliza o software Paper.

Add some basic permissions when none defined

Is your feature request related to a problem? Please describe.
Right now unless I've missed something SimpleClans is dependent on permissions being set through some permission handler, such as Luckperms, instead of having some basic ones defined.

Right now non-op users cannot even use basic commands such as /clan with no parameters.

Describe the solution you'd like
simpleclans.leader.*, simpleclans.member.* and simpleclans.anyone.* should be available to users by default unless otherwise stated. This would allow the plugin to be a bit more plug-n-play, for those who don't want to do permissions configuration.

Describe alternatives you've considered
Perhaps have a config option for it.

Additional context

Plugins list
  • Simpleclans 2.12.1
  • Dynmap-SimpleClans 1.4.0
  • BetterSleeping
  • BigDoors
  • BKCommonLib
  • Brewery
  • Cannons
  • Chairs
  • DiscordSRV
  • Dynmap
  • ImmersiveCampfires
  • LockettePro
  • LogBlock
  • PwnPlantGrowth
  • ShipsBukkit
  • Shopkeepers
  • TrainCarts
  • WorldBorder
  • worldedit

More staff features

I just noticed that:

  • Staff cant use /clan profile to non verified clans ; I guess that staff should be able to avoid this restriction to see info about that clan
  • The same with /clan roster
  • It would be amazing to have a /clan list command but for non verified clans

Console friendly commands

Make more commands console friendly. Many of them such as disband, roster, profile, lookup, could also be used in console, that would be amazing!

Thanks :D

Clan Colors

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
I think it'd be really nice to be able to have a "clan color" that you can use to describe your clan. If this gets implemented, I'd love to be able to then include the clan color inside of my username in the chat formatting. See additional context for an image example of what I'm looking for :)

Describe alternatives you've considered
There really isn't any alternative. It's just not supported currently.

Additional context
image

Tag Configuration:

tag:
  default-color: f
  max-length: 1
  min-length: 1
  separator:
    color: f
    leader-color: f
    char: ''
  bracket:
    color: f
    leader-color: f
    left: '['
    right: '] '

Deny &k, &l, &m, &o in clan tag

Players are using formatting codes that are not colors in their clan tags.
We need a way to deny that.
Thank you in advance!

/crew rivalries or /crew alliances shows all clans?

Describe the bug
Both /crew rivalries or /crew alliances do not display the correct list of rivalries or alliances per clan you are in, its displaying all crews in order?

To Reproduce
Steps to reproduce the behavior:

  1. Run /clan rivalries or /clan alliances
  2. All clans are listed

Expected behavior
For it to just load the alliances and rivalries of the crew you are in.

Software (please complete the following information):

  • Server: paper 1.12.2
  • Plugin version 2.1.3.0

Cant delete ranks with spaced in them.

Describe the bug
Either using the command or GUI, after you have created a rank with a space in its name, you can not delete or assign it.

To Reproduce
Steps to reproduce the behavior:

  1. /clan rank create - in chat type a rank name with a space My rank
  2. /clan, click your Clan
  3. Click helmet
  4. Right click to delete My Rank, it will fail saying usage /crew rank delete [rank]

Expected behavior
Either do not allow spaced in Rank names, or give each rank its own Unique ID to delete.

Software (please complete the following information):

  • Server: Paper 1.12.2
  • Plugin version 2.13.0

Allies/Rivals hover over goes off the screen

Describe the bug
When you hover over a crew with a lot of allies/rivals the text goes off the screen

Expected behavior
There to be a limit to clans listed per line that we can set in the config, say 5-10 or something.

Screenshots
https://i.imgur.com/iJWMCLa.png

Software (please complete the following information):

  • Server: Paper 1.12.2
  • Plugin version 2.1.3.0

Console Error on player join

To Reproduce
This bugs happens sometimes on when a player join the server

Expected behavior
Not print an error on the console and load the clan of the player

Screenshots
[01:20:57] [Server Thread/ERROR]: Error handling conversation prompt
java.lang.NullPointerException
at net.sacredlabyrinth.phaed.simpleclans.conversation.ResignPrompt.acceptInput(ResignPrompt.java:36) ~[?:?]
at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:229) [spigot.jar:git-iSpigot-PaperEdition]
at org.bukkit.craftbukkit.v1_8_R3.conversations.ConversationTracker.acceptConversationInput(SourceFile:58) [spigot.jar:git-iSpigot-PaperEdition]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.acceptConversationInput(SourceFile:1170) [spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.PlayerConnection$3.evaluate(SourceFile:1069) [spigot.jar:git-iSpigot-PaperEdition]
at org.bukkit.craftbukkit.v1_8_R3.util.Waitable.run(SourceFile:24) [spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.MinecraftServer.tickWorlds(SourceFile:872) [spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.DedicatedServer.tickWorlds(SourceFile:349) [spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.MinecraftServer.tickServer(SourceFile:790) [spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(SourceFile:669) [spigot.jar:git-iSpigot-PaperEdition]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_265]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_265]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_265]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]

[08:10:03] [User Authenticator #34/INFO]: UUID of player TryTap is 96c2f86e-fe62-42d4-b0eb-ab6d7c798e9d
[08:10:03] [Server Thread/INFO]: net.sacredlabyrinth.phaed.simpleclans.managers.ClanManager.importClan(ClanManager.java:123)
[08:10:03] [Server Thread/INFO]: net.sacredlabyrinth.phaed.simpleclans.managers.StorageManager.retrieveOneClanPlayer(StorageManager.java:662)
[08:10:03] [Server Thread/INFO]: net.sacredlabyrinth.phaed.simpleclans.managers.StorageManager.importFromDatabaseOnePlayer(StorageManager.java:287)
[08:10:03] [Server Thread/INFO]: net.sacredlabyrinth.phaed.simpleclans.managers.ClanManager.getClanPlayerJoinEvent(ClanManager.java:267)
[08:10:03] [Server Thread/INFO]: net.sacredlabyrinth.phaed.simpleclans.listeners.SCPlayerListener.onPlayerJoin(SCPlayerListener.java:245)
[08:10:03] [Server Thread/INFO]: spg.lgdev.events.executor.asm.generated.GeneratedEventExecutor304.execute(Unknown Source)
[08:10:03] [Server Thread/INFO]: org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:68)
[08:10:03] [Server Thread/INFO]: co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[08:10:03] [Server Thread/INFO]: org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[08:10:03] [Server Thread/INFO]: org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:570)
[08:10:03] [Server Thread/INFO]: org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:549)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin0(SourceFile:332)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.PlayerList.a(SourceFile:168)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.LoginListener.b(SourceFile:150)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.LoginListener.c(SourceFile:53)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.NetworkManager.a(SourceFile:255)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.ServerConnection.c(SourceFile:116)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.MinecraftServer.tickWorlds(SourceFile:927)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.DedicatedServer.tickWorlds(SourceFile:349)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.MinecraftServer.tickServer(SourceFile:790)
[08:10:03] [Server Thread/INFO]: net.minecraft.server.v1_8_R3.MinecraftServer.run(SourceFile:669)
[08:10:03] [Server Thread/INFO]: java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[08:10:03] [Server Thread/INFO]: java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
[08:10:03] [Server Thread/INFO]: java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[08:10:03] [Server Thread/INFO]: java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[08:10:03] [Server Thread/INFO]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[08:10:03] [Server Thread/INFO]: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[08:10:03] [Server Thread/INFO]: java.lang.Thread.run(Thread.java:748)

Software (please complete the following information):

  • Server: Spigot 1.8.8
  • Plugin version 2.13.1

Additional context
Add any other context about the problem here.

Registro de comando ally não esta funcionando

Describe the bug
O comando ally adicionado na config.yml não é registrado corretamente.

Notei um erro no console ao usar o comando /ally <mensagem>:

[16:23:11 INFO]: thiagogebrim issued server command: /ally algm repara?
[16:23:11 ERROR]: [SimpleClans] [ACF] Could not find command condition clan_member for sendMessage
[16:23:11 INFO]: [SimpleClans] [a] [DSG] [lZeusl] thiagogebrim» algm repara?

To Reproduce
Steps to reproduce the behavior:

  1. Abra o arquivo config.yml e altere o comando.
commands:
  more: mais
  ally: a
  clan: clan
  accept: aceitar
  deny: negar
  global: geral
  clan_chat: c
  force-priority: true
  1. Reinicie ou ligue o servidor.
  2. Tente utilizar /a <mensagem>
  3. O comando não existe e não funciona.

Expected behavior
Registrar o comando especificado nas configurações.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Software (please complete the following information):

  • Server: Paper 1.16.3
  • Plugin version: 1.14.1

Additional context
O Comando ally é registrado e funciona normalmente, mesmo alterando o comando como mostrado no exemplo acima.
É enviado um erro no console:
[16:23:11 ERROR]: [SimpleClans] [ACF] Could not find command condition clan_member for sendMessage

Erro ao criar banco de dados.

Describe the bug

Erro ao criar o arquivo de banco de dados pela primeira vez.

[21:11:08 WARN]: [SimpleClans] Starting Migration to UUID Players !
[21:11:08 WARN]: [SimpleClans] ==================== ATTENTION DONT STOP BUKKIT ! ====================
[21:11:08 WARN]: [SimpleClans] ==================== ATTENTION DONT STOP BUKKIT ! ====================
[21:11:08 WARN]: [SimpleClans] ==================== ATTENTION DONT STOP BUKKIT ! ====================
[21:11:08 WARN]: [SimpleClans] ==================== END OF MIGRATION ====================
[21:11:08 WARN]: [SimpleClans] ==================== END OF MIGRATION ====================
[21:11:08 WARN]: [SimpleClans] ==================== END OF MIGRATION ====================
[21:11:08 ERROR]: [SimpleClans] [SQLITE_ERROR] SQL error or missing database (near "DROP": syntax error)
[21:11:08 ERROR]: [SimpleClans] Query: ALTER TABLE sc_players DROP INDEX uq_sc_players_1;

To Reproduce
Steps to reproduce the behavior:

  1. Inicie o servidor sem nenhum arquivo de banco de dados.
  2. Visualize o erro no console.

Expected behavior
Nenhum erro ao criar o banco de dados.

Software (please complete the following information):

  • Server version: Paper 1.16.2
  • Plugin version: 2.13.0

Clan roster massive delay

Describe the bug
Multiple issues with Crew roster.

  1. Clicking a crew roster with 100's of users takes AGES to populate to create its cache, its as though it creates a cache PER PLAYER instead of per crew of their heads, as each person that clicks it has to wait for AGES for it to load, it should be a cache per crew not cache the crew for each player that clicks it.
  2. When clicking the Crew roster GUI, when it finally loads you can not click the next button, it just does nothing, no next page, no errors.

To Reproduce
Steps to reproduce the behavior:

  1. Run /clan
  2. Click on Roster and wait for it to populate
  3. Click the next page button

Expected behavior
For it to load the next page

Screenshots

Screenshot 2020-08-18 16 04 51

Software (please complete the following information):

  • Server: paper 1.12.2
  • Plugin version 2.1.3.0

Custom Messages.yml stopped working between 2.1.2.1 & 2.13.0

Describe the bug
This is driving me insane, I have a test server, on the same physical server, same serer software (paper 1.12.2) but slightly different simpleclans versions, 2.1.2.1 on test server and 2.13.0 on live server.

When I updated today my live server with 2.13.0 its not picking up all my custom changes to my messages.properties after a reload or a /crew reload. its got some of my custom messages but not all of them, but it works perfectly fine on my test server.

Here's my messages.properties
https://gist.github.com/FrozenBeard/5321a7f99f8204c519372fc47a227c1e

For example im trying to get my GUI changes live, these are fine on my test server, but not on 2.13.0.

Software (please complete the following information):

  • Server: Paper 1.12.2
  • Plugin version 2.1.2.1 & 2.13.0

More Customization

While the plugin is great, more customization option would, in my opinion, make the plugin much better for a server; I frankly don't like the way the GUI and Text look, and having them look nice is important to me. This is really my only issue with the plugin.

Receber mensagem ao aceitar ou negar convite de clãs.

Is your feature request related to a problem? Please describe.

Quando um jogador recebe um convite de clã, ao negar ou aceitar o convite não é enviado nenhum tipo de confirmação.

Describe the solution you'd like

Enviar uma mensagem ao jogador avisando sobre a ação realizada.

Describe alternatives you've considered

Mensagem enviada ao jogador após aceitar ou negar o convite:
Você negou o convite do clã Armageddon.
Você aceitou o convite do clã Armageddon.

Improve clan list

What if /clan list instead of saying Total Clans, says Verified Clans and Non-verified Clans?

image

And yeah following what I suggested in #11 , we could add another parameter to say if we want to list all types of clans, just verified ones or just non verified ones ¿? ; Idk if this would break everything

Simpleclans broken with placeholderapi 2.10.7

WIth the update of PlaceholderAPI to 2.10.7, simpleclans wont start with a placeholderapi method error.

[05:29:16 ERROR]: Error occurred while enabling SimpleClans v2.12.2 (Is it up to date?)
java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPI.registerPlaceholderHook(Ljava/lang/String;Lme/clip/placeholderapi/PlaceholderHook;)Z
at net.sacredlabyrinth.phaed.simpleclans.managers.PlaceholdersManager.setupPlaceholderAPI(PlaceholdersManager.java:59) ~[?:?]
at net.sacredlabyrinth.phaed.simpleclans.managers.PlaceholdersManager.(PlaceholdersManager.java:49) ~[?:?]
at net.sacredlabyrinth.phaed.simpleclans.SimpleClans.hookIntoPAPI(SimpleClans.java:147) ~[?:?]
at net.sacredlabyrinth.phaed.simpleclans.SimpleClans.onEnable(SimpleClans.java:140) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.1.jar:git-Paper-121]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.1.jar:git-Paper-121]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.1.jar:git-Paper-121]
at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugin(CraftServer.java:500) ~[patched_1.16.1.jar:git-Paper-121]
at org.bukkit.craftbukkit.v1_16_R1.CraftServer.enablePlugins(CraftServer.java:414) ~[patched_1.16.1.jar:git-Paper-121]
at net.minecraft.server.v1_16_R1.MinecraftServer.loadWorld(MinecraftServer.java:471) ~[patched_1.16.1.jar:git-Paper-121]
at net.minecraft.server.v1_16_R1.DedicatedServer.init(DedicatedServer.java:241) ~[patched_1.16.1.jar:git-Paper-121]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:940) ~[patched_1.16.1.jar:git-Paper-121]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-121]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]

Thanks!

LuckPerms Context

Im considering adding this on my own plugin so maybe it might be useful for someone using SC (not for me but idk)

LuckPerms added this context feature which is amazing! For example, you could create a context like if a player is in a clan or not.

So in LP, some permissions or ranks could be assigned if simpleclans:isInClan is true

LP Context Wiki

EssentialsX release notes adding support for this

Adicionar comando para bloquear recebimento de convites

Is your feature request related to a problem? Please describe.

Muitos jogadores não querem fazer parte de um clã, líderes de clãs enviam convites de clã para jogadores sem antes perguntar se o jogador quer ou não participar do clã.

Describe the solution you'd like

Seria interessante adicionar um comando para bloquear o recebimento de convistes de clãs.

Describe alternatives you've considered

Adicionar comando para alternar o recebimento de convites de clã.
Comando: /clan toggle invite
Descrição: Ativar ou desativar o recebimento de convites de clãs.
Permissão: simpleclans.anyone.invite-toggle

Ao enviar um convite para o jogador que estiver com convites desativados, receber uma mensagem avisando que o jogador não está recebendo convites de clã.

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.