roinujnosde / simpleclans Goto Github PK
View Code? Open in Web Editor NEWFull featured Clan system for Minecraft
Home Page: https://www.spigotmc.org/resources/simpleclans.71242/
License: GNU General Public License v3.0
Full featured Clan system for Minecraft
Home Page: https://www.spigotmc.org/resources/simpleclans.71242/
License: GNU General Public License v3.0
Paginator is being recreated
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:
performance:
cache-player-heads: true
save-periodically: false
save-interval: 10
use-threads: true
use-bungeecord: false
Expected behavior
Nenhum erro ao desligar o servidor.
Software (please complete the following information):
You probably forgot it haha :P
I just noticed that:
Player#canSee
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:
/clan rivalries
or /clan alliances
Expected behavior
For it to just load the alliances and rivalries of the crew you are in.
Software (please complete the following information):
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:
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
/a <mensagem>
Expected behavior
Registrar o comando especificado nas configurações.
Screenshots
If applicable, add screenshots to help explain your problem.
Software (please complete the following information):
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
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
Describe the bug
Multiple issues with Crew roster.
To Reproduce
Steps to reproduce the behavior:
/clan
Expected behavior
For it to load the next page
Screenshots
Software (please complete the following information):
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:
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
%simpleclans_leaderboard_<position>_playername%
Clan, old and new tags, player, cancellable
On ClanCreate the old tag will be null
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! :)
Players are using formatting codes that are not colors in their clan tags.
We need a way to deny that.
Thank you in advance!
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.
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: '] '
yeah yeah spigotmc.. but why have stopped .jar here?
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.
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.
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:
/clan rank create
- in chat type a rank name with a space My rank
/clan
, click your ClanMy 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):
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!
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.
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:
To Reproduce 2
Steps to reproduce the behavior:
Expected behavior
For data to be saved properly.
Software (please complete the following information):
Allow permission names to be translated
Add descriptions to them (also translatable)
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
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ã.
Add word for cancelling the conversation
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):
After the frame is loaded and before open inventory is called.
Cancellable.
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):
Additional context
Add any other context about the problem here.
The first error occurs when a user tries to use /clan home, the command at startup seems to run normally, it runs the countdown for teleport and everything else it should normally do, but when the countdown ends it drops a code error and does not teleport the user.
Error code:
https://pastebin.com/RqxGaD5p
https://discordapp.com/channels/719557355917934613/719567807259344959/737969263729442836
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:
Expected behavior
Nenhum erro ao criar o banco de dados.
Software (please complete the following information):
What if /clan list instead of saying Total Clans, says Verified Clans and Non-verified Clans?
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
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
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):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.