Can i get help from a developers point of view

Status
This thread has been locked.

chelsea1124

⚔️professional config and server creator⚔️
Premium
Feedback score
17
Posts
423
Reactions
53
Resources
3
Hello, mcm developers, I'm looking to see if you could all help and see my I'm getting this error with my plugin so what is this error well it is this

I'm making a staff commands plugin and I have staffchat in it and well everytime i want to type in the staffchat it gives me this error in counsel now keep in mind this is only when wanting to speak in staffchat not main

error: https://gyazo.com/d6be217e88cc231092fe113372bd2548

staffchat class:

Thank you chelsea1124/chelsea1124HD
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Nafana

Premium
Feedback score
2
Posts
13
Reactions
4
Resources
0
Are you using any non-ASCII characters in the config.yml? The regular Base64 decoding that is used to read the yml may not be understanding a special character?

EDIT: I believe this doesn't happen in the most updated versions of spigot, what version are you using?
 

Fluddershy

Feedback score
2
Posts
277
Reactions
133
Resources
0
Hello, mcm developers, I'm looking to see if you could all help and see my I'm getting this error with my plugin so what is this error well it is this

I'm making a staff commands plugin and I have staffchat in it and well everytime i want to type in the staffchat it gives me this error in counsel now keep in mind this is only when wanting to speak in staffchat not main

error: https://gyazo.com/d6be217e88cc231092fe113372bd2548

staffchat class:

Thank you chelsea1124/chelsea1124HD

replaceAll is for lists and regex, don't know why you're using it on a string.
Also, why do you have a color() method but you don't even use it?
 
Last edited:

chelsea1124

⚔️professional config and server creator⚔️
Premium
Feedback score
17
Posts
423
Reactions
53
Resources
3
replaceAll is for lists and regex, don't know why you're using it on a string.
Also, why do you have a color() method but you don't even use it?
because I'm going to use it just making sure this is working first

And also when I use just replace it still does the same thing[DOUBLEPOST=1501227412][/DOUBLEPOST]
Are you using any non-ASCII characters in the config.yml? The regular Base64 decoding that is used to read the yml may not be understanding a special character?

EDIT: I believe this doesn't happen in the most updated versions of spigot, what version are you using?
1.8.8
 
Last edited:

Fluddershy

Feedback score
2
Posts
277
Reactions
133
Resources
0
because I'm going to use it just making sure this is working first
Show us the config, there must be something you're not showing. :|
 

chelsea1124

⚔️professional config and server creator⚔️
Premium
Feedback score
17
Posts
423
Reactions
53
Resources
3
Show us the config, there must be something you're not showing. :|
Code:
############################################################
# StaffCommands made by Chelsea1124
#
# Follow My Twitter to keep up with new projects!.
# https://twitter.com/chelsea1124HD
#
# Sub to my YouTube channel for fun and amazing content!.
# https://www.youtube.com/chelsea1124HD
#
# Join my discord to speak with others adn made why coding!.
# https://discord.gg/Wk4PHpK
#
###########################################################


# Freeze command messages

# Strip Armor command messages

# Follow command messages

# ChatToggle command messages

# ChatClear command messages

# StaffChat command messages
staffchat:
  format: '&a[&4Staff&a] %PLAYER%&7: %MSG%'

# StaffList command messages

# Cps command messages

# Config reload command messages
ConfigReload: '&eStaffCommands &7&l⟶ &eConfig reloaded&7!'

# No perms messages
no-permissions: '&c&l(!) &cYou do not have permission to run this command.'
 

Fluddershy

Feedback score
2
Posts
277
Reactions
133
Resources
0
Code:
############################################################
# StaffCommands made by Chelsea1124
#
# Follow My Twitter to keep up with new projects!.
# https://twitter.com/chelsea1124HD
#
# Sub to my YouTube channel for fun and amazing content!.
# https://www.youtube.com/chelsea1124HD
#
# Join my discord to speak with others adn made why coding!.
# https://**********/Wk4PHpK
#
###########################################################


# Freeze command messages

# Strip Armor command messages

# Follow command messages

# ChatToggle command messages

# ChatClear command messages

# StaffChat command messages
staffchat:
  format: '&a[&4Staff&a] %PLAYER%&7: %MSG%'

# StaffList command messages

# Cps command messages

# Config reload command messages
ConfigReload: '&eStaffCommands &7&l⟶ &eConfig reloaded&7!'

# No perms messages
no-permissions: '&c&l(!) &cYou do not have permission to run this command.'
Does 'no-permissions' work just fine? Also, try deleting your config on the server and loading it back up.
 

Fluddershy

Feedback score
2
Posts
277
Reactions
133
Resources
0
Try adding 2 more spaces to the format key. I usually count in my head 4 spaces for formatting/indenting. Sorry, I'm not good at troubleshooting.
 

chelsea1124

⚔️professional config and server creator⚔️
Premium
Feedback score
17
Posts
423
Reactions
53
Resources
3
s
Try adding 2 more spaces to the format key. I usually count in my head 4 spaces for formatting/indenting. Sorry, I'm not good at troubleshooting.
till get the error
 

Fluddershy

Feedback score
2
Posts
277
Reactions
133
Resources
0
I think it's safe to assume that @Nafanas's explanation was most likely what was going on. Why don't you update to the latest version? :(
 

chelsea1124

⚔️professional config and server creator⚔️
Premium
Feedback score
17
Posts
423
Reactions
53
Resources
3
I think it's safe to assume that @Nafanas's explanation was a possibly what was going on. Why don't you update to the latest version? :(
because I want it to work with 1.8+ to newish version is why and I always make my plugins in 1.8 so it works with 1.8+
 

Fluddershy

Feedback score
2
Posts
277
Reactions
133
Resources
0
I'm pretty sure that as long as you use existing methods in the 1.8 versions, it should be okay. Just don't use a shulker or something.
 

Tyler

Developer
Supreme
Feedback score
14
Posts
2,589
Reactions
2,238
Resources
0
Code:
############################################################
# StaffCommands made by Chelsea1124
#
# Follow My Twitter to keep up with new projects!.
# https://twitter.com/chelsea1124HD
#
# Sub to my YouTube channel for fun and amazing content!.
# https://www.youtube.com/chelsea1124HD
#
# Join my discord to speak with others adn made why coding!.
# https://**********/Wk4PHpK
#
###########################################################


# Freeze command messages

# Strip Armor command messages

# Follow command messages

# ChatToggle command messages

# ChatClear command messages

# StaffChat command messages
staffchat:
  format: '&a[&4Staff&a] %PLAYER%&7: %MSG%'

# StaffList command messages

# Cps command messages

# Config reload command messages
ConfigReload: '&eStaffCommands &7&l⟶ &eConfig reloaded&7!'

# No perms messages
no-permissions: '&c&l(!) &cYou do not have permission to run this command.'
Try it without ⟶ in the config
 

chelsea1124

⚔️professional config and server creator⚔️
Premium
Feedback score
17
Posts
423
Reactions
53
Resources
3
Try it without ⟶ in the config
it works with it me trying to get it from the config that's the first thing i tried[DOUBLEPOST=1501230113][/DOUBLEPOST]
Try it without ⟶ in the config
I also tried removing it and still get the same thing
 
Last edited:

Fluddershy

Feedback score
2
Posts
277
Reactions
133
Resources
0
We've told you to update your plugin, you can't just ignore us.
 

Fluddershy

Feedback score
2
Posts
277
Reactions
133
Resources
0
You told Tyler that, with his quotes, not mine? I literally looked up the same question, and there's someone on the exact same version as you and same problem, he updated and it magically fixed.
 

chelsea1124

⚔️professional config and server creator⚔️
Premium
Feedback score
17
Posts
423
Reactions
53
Resources
3
You told Tyler that, with his quotes, not mine? I literally looked up the same question, and there's someone on the exact same version as you and same problem, he updated and it magically fixed.
I updated mine to 1.12 still getting it so[DOUBLEPOST=1501230897][/DOUBLEPOST]
I updated mine to 1.12 still getting it so
Ok edit its now not sending that error but for some reason it's not sending the message in the chat no more

GIF: https://gyazo.com/44a4b085f794b1bf68c0b2f5d8252eea
 
Last edited:
Status
This thread has been locked.
Top