1
Hello guys !
So today i started making a plugin , and i just wanted to know something
So when the player execute the command /moodhappy i wand him to have this in front of his name : [^_^] but idk how , i tried this :
but it doesnt work , do you guys know why ?
Thx for thoses who will help.
Please, Don't steal this plugin.
So today i started making a plugin , and i just wanted to know something
So when the player execute the command /moodhappy i wand him to have this in front of his name : [^_^] but idk how , i tried this :
Click to reveal
if(cmd.getName().equalsIgnoreCase("moodhappy")){
player.setDisplayName("[^_^]" + player.getName());
return true;
}
player.setDisplayName("[^_^]" + player.getName());
return true;
}
but it doesnt work , do you guys know why ?
Thx for thoses who will help.
Please, Don't steal this plugin.
Create an account or sign in to comment.
28
Do i realy have to bump this everyday ?
Bump
Bummpp
Have you got Skype?
I do , but i cant talk , here is my skype : Spect199
Could be an essentials chat problem.
Essentials chat allows you to show prefixes.
Essentials chat allows you to show prefixes.
Bump
Any other ideas ?
Try using
@Override
above the onCommand method.
@Override
above the onCommand method.
Not working :/ .
Two Plugins may be Coliding in a way
Go to essentials config and disable nicknames
Try just removing essentialschat.jar? Not sure, never had this issue.
yeah , but that wll suck for big servers.
i think it does :/
Anyone can help ?
Anyone can help ?
i think theres a way to disable the nick feature in the config i think thats it
But 1 thing, It doesnt work with essentials :/ do you guys know how can i fix that ?
any error?
I mean , its working , but the [^_^] doesnt show up , but when i remove Essentials , it works. I think its because of the /nick , i didnt nick myself , but i think its that.
maybe the nick feature messes it up
YES ! Its working , its just that i got something on the other command
Thx for your help.
Thx for your help.
let me test out the code and edit and see if it works and if it does i will give u the code
Console is okay , no error
Its just when i type /moodhappy well my name doesnt change its just like this :
<Spect99>
any other ideas ?
Its just when i type /moodhappy well my name doesnt change its just like this :
<Spect99>
any other ideas ?
I don't see what's wrong with this, check for console errors?
Yes thats what i want to do
but it wont display the [^_^] before his name
fore exemple it wont show this : [^_^]Spect99
but it wont display the [^_^] before his name
fore exemple it wont show this : [^_^]Spect99
That would only change the player its name while chatting