Coder Social home page Coder Social logo

Config.yml about punishmentsx HOT 17 CLOSED

DanniDev1 avatar DanniDev1 commented on September 4, 2024
Config.yml

from punishmentsx.

Comments (17)

TheoBong avatar TheoBong commented on September 4, 2024

Unicode characters should be allowed in config.
Please post your config in a pastebin and link it here.

To warn in punish menu, add the punishment, "warn:permanent"

I will add chat filter bypass permission for staff in next update.

from punishmentsx.

DanniDev1 avatar DanniDev1 commented on September 4, 2024

Unicode characters should be allowed in config. Please post your config in a pastebin and link it here.

To warn in punish menu, add the punishment, "warn:permanent"

I will add chat filter bypass permission for staff in the next update.

I tried "Γ¦", "ΓΈ", "Γ₯" and they do not work.

Thanks, I've added the warn menu myself.

Are you also able to setup permission for a menu etc Severity1, Severity 2, Severity 3. so only staff with etc punish.Severity.2 can use Severity 2 and is there a way to wipe the punishment history? or delete a single one?

Thank you! :D

from punishmentsx.

TheoBong avatar TheoBong commented on September 4, 2024

I'm not sure how I could add more support for unicode characters, seems like an issue with Bukkit not supporting those characters. You should be able to use any UTF-8 characters.

I could add a permission option in the config for seeing a certain entry in the punish menu.
Why would you want to wipe/delete punishment history?

from punishmentsx.

DanniDev1 avatar DanniDev1 commented on September 4, 2024

I'm not sure how I could add more support for unicode characters, seems like an issue with Bukkit not supporting those characters. You should be able to use any UTF-8 characters.

I could add a permission option in the config for seeing a certain entry in the punish menu. Why would you want to wipe/delete punishment history?

[18:57:47] [Thread-72/ERROR]: Could not pass event AsyncPlayerPreLoginEvent to PunishmentsX vgit-PunishmentsX-f5f11fe
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) [patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"]
at net.minecraft.server.v1_8_R3.LoginListener$LoginHandler.fireEvents(LoginListener.java:248) [patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"]
at net.minecraft.server.v1_8_R3.LoginListener$2.run(LoginListener.java:172) [patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Caused by: java.lang.NullPointerException
at java.util.UUID.fromString(UUID.java:192) ~[?:1.8.0_282]
at io.github.punishmentsx.database.sequel.SQL.loadPunishment(SQL.java:174) ~[?:?]
at io.github.punishmentsx.database.sequel.SQL.loadProfile(SQL.java:122) ~[?:?]
at io.github.punishmentsx.profiles.ProfileManager.find(ProfileManager.java:44) ~[?:?]
at io.github.punishmentsx.listeners.JoinListener.onPlayerPreLogin(JoinListener.java:45) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_282]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_282]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"]
... 7 more
[18:57:47] [Thread-72/INFO]: UUID of player Danni is 55733f30-8907-4851-8af3-420f6f255856
[18:57:47] [Server thread/INFO]: Danni lost connection: ?cYour profile did not load properly, please relog.
[18:57:47] [Server thread/INFO]: Danni[/IP] logged in with entity id 2848 at ([world]282.5, 83.0, -325.5)

Myself and my players are unable to join the server, how can I fix?

The issue is fixed when I delete the database file and restart the server

from punishmentsx.

TheoBong avatar TheoBong commented on September 4, 2024

I'm not sure how I could add more support for unicode characters, seems like an issue with Bukkit not supporting those characters. You should be able to use any UTF-8 characters.
I could add a permission option in the config for seeing a certain entry in the punish menu. Why would you want to wipe/delete punishment history?

[18:57:47] [Thread-72/ERROR]: Could not pass event AsyncPlayerPreLoginEvent to PunishmentsX vgit-PunishmentsX-f5f11fe org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) [patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"] at net.minecraft.server.v1_8_R3.LoginListener$LoginHandler.fireEvents(LoginListener.java:248) [patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"] at net.minecraft.server.v1_8_R3.LoginListener$2.run(LoginListener.java:172) [patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282] Caused by: java.lang.NullPointerException at java.util.UUID.fromString(UUID.java:192) ~[?:1.8.0_282] at io.github.punishmentsx.database.sequel.SQL.loadPunishment(SQL.java:174) ~[?:?] at io.github.punishmentsx.database.sequel.SQL.loadProfile(SQL.java:122) ~[?:?] at io.github.punishmentsx.profiles.ProfileManager.find(ProfileManager.java:44) ~[?:?] at io.github.punishmentsx.listeners.JoinListener.onPlayerPreLogin(JoinListener.java:45) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_282] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_282] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched_1.8.8.jar:git-PaperSpigot-"8230aa68e"] ... 7 more [18:57:47] [Thread-72/INFO]: UUID of player Danni is 55733f30-8907-4851-8af3-420f6f255856 [18:57:47] [Server thread/INFO]: Danni lost connection: ?cYour profile did not load properly, please relog. [18:57:47] [Server thread/INFO]: Danni[/IP] logged in with entity id 2848 at ([world]282.5, 83.0, -325.5)

Myself and my players are unable to join the server, how can I fix?

The issue is fixed when I delete the database file and restart the server

That happens when you update from a database file generated by an old version of the plugin.

from punishmentsx.

DanniDev1 avatar DanniDev1 commented on September 4, 2024

I have the newest version of the plugin from the spigot page.

from punishmentsx.

DanniDev1 avatar DanniDev1 commented on September 4, 2024

How to i read the data.db file?

Do you have some other way to contact you for support? a discord server?

I switched to "mongo" and now the plugin doesn't seem to work?

Are you also able to make it work with litebans?

from punishmentsx.

TheoBong avatar TheoBong commented on September 4, 2024

I have the newest version of the plugin from the spigot page.

Delete your data.db file.

How to i read the data.db file?

Do you have some other way to contact you for support? a discord server?

I switched to "mongo" and now the plugin doesn't seem to work?

Are you also able to make it work with litebans?

If you switch to mongo, you need have a mongodb database to connect to.
This is a full fledged punishments plugin, not just a GUI for litebans.

from punishmentsx.

DanniDev1 avatar DanniDev1 commented on September 4, 2024

I have the newest version of the plugin from the spigot page.

Delete your data.db file.

How to i read the data.db file?
Do you have some other way to contact you for support? a discord server?
I switched to "mongo" and now the plugin doesn't seem to work?
Are you also able to make it work with litebans?

If you switch to mongo, you need have a mongodb database to connect to. This is a full fledged punishments plugin, not just a GUI for litebans.

Okay, so I'll switch back to SQlite, but that just mess up the server when ever they get a punishment their profile won't load correctly it says and won't let them join.

from punishmentsx.

TheoBong avatar TheoBong commented on September 4, 2024

I have the newest version of the plugin from the spigot page.

Delete your data.db file.

How to i read the data.db file?
Do you have some other way to contact you for support? a discord server?
I switched to "mongo" and now the plugin doesn't seem to work?
Are you also able to make it work with litebans?

If you switch to mongo, you need have a mongodb database to connect to. This is a full fledged punishments plugin, not just a GUI for litebans.

Okay, so I'll switch back to SQlite, but that just mess up the server when ever they get a punishment their profile won't load correctly it says and won't let them join.

You deleted your data.db file right? I'll look into the issue in a bit.

from punishmentsx.

DanniDev1 avatar DanniDev1 commented on September 4, 2024

Yes, i deleted the data.db, but i still run into the issue.

from punishmentsx.

TheoBong avatar TheoBong commented on September 4, 2024

Yes, i deleted the data.db, but i still run into the issue.

I can't seem to reproduce the issue. Try completely reinstalling the plugin (Delete PunishmentsX folder & the jar) and see if that fixes it. If it doesn't fix, open another issue using the bug report template.

from punishmentsx.

DanniDev1 avatar DanniDev1 commented on September 4, 2024

Yes, i deleted the data.db, but i still run into the issue.

I can't seem to reproduce the issue. Try completely reinstalling the plugin (Delete PunishmentsX folder & the jar) and see if that fixes it. If it doesn't fix, open another issue using the bug report template.

Can I send you the config I have?

from punishmentsx.

TheoBong avatar TheoBong commented on September 4, 2024

Yes, i deleted the data.db, but i still run into the issue.

I can't seem to reproduce the issue. Try completely reinstalling the plugin (Delete PunishmentsX folder & the jar) and see if that fixes it. If it doesn't fix, open another issue using the bug report template.

Can I send you the config I have?

Sure

from punishmentsx.

DanniDev1 avatar DanniDev1 commented on September 4, 2024

https://www.toptal.com/developers/hastebin/zawosorape.pl

from punishmentsx.

TheoBong avatar TheoBong commented on September 4, 2024

https://www.toptal.com/developers/hastebin/zawosorape.pl

I don't see a blatant issue in this config. Try completely reinstalling the plugin (Delete PunishmentsX folder & the jar) and see if that fixes it. If it doesn't fix, open another issue using the bug report template.

from punishmentsx.

TheoBong avatar TheoBong commented on September 4, 2024

Continued in #6

from punishmentsx.

Related Issues (18)

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.