#general
1 messages Β· Page 110 of 1
FTB utilities tends to do it
I disabled that too
Or if it happens from just those two, it's a nucleus Vs sponge issue
No
You need to disable it in the config. Not use nodes.
Where in the config?
Read it and you'll find out
Check other plugins that may need with things
Or run do what I said above and sort through them till it appears
I just started removing one plugin at a time
Ok
Does someone here speak spanish?
Quick question. When we add another role to someone. For example if one of my staff buys a donator tank since they donβt get donator perms, how can I make it so the staff role stays the one above? Cause I have a scoreboard and it changes when a new role is added to the person instead of staying the higher role.
I think role priority/weight I forget what its called
Thanks
So it seems the weight was transferred already from pex to LP when I migrated it
Thats good or is it?
just keep in mind that prefixes/suffixes use a different weight system so make sure you set those up too
Can you b.. and gone
owo
Should I use Spartan or AAC, witch is better?
Spartan
What do you mean the prefixes/suffixes use a different weight system? Than how do I weight the ranks?
No, he means that prefixes and Suffixes also have a weight, so if you have a group with weight 1 but the prefix is weight 100 it would display the prefix over a group with weight 10 and prefix weight 50
This is english only
@vocal rivet but I don't want the prefixes to display over a group. I want the group and the prefix to be side by side if the person is a staff and donator
I already got the link for the stacking prefixes
Just trying to figure out how to make it change without making the scoreboard change from the highest rank
Where do I go to choose the weight of the ranks?
Does your scoreboard plugin maybe have its own group weight system?
if you have set the prefix already, then you can update in the editor. for new prefixes, you set the weight/priority when you do the command, its detailed in the wiki for it
prefix.1.[donor] the 1 is the weight.
Ah okay.
the stacking is what will allow both to show though
Because when I migrated Pex to LP, it put Owner as weight 800
Would that make the owner role always be above?
Or the lowest?
id leave a 10, 100 or 1000 gap between groups to allow for expansion
Higher number = Higher priority
yea
Which was confusing as hell
π
I'm glad I found LuckPerms. Was looking around everywhere cause I wanted to show off my staff who also bought a donator rank xP
LP is nice
Pex hasn't been updated in forever
and the /pex promote * thing too or whatever it was that could crash
In a Reality, in a universe, in a galaxy, in a solar system, on a planet, in a country, in a state, in a town, in a street, in a house, in a room, on a bed, someone is thinking, In a reality ...
does anyone know the plugin that shows a rank above someones head next to there name
Nametagedit can do that as far as I know.
I personally use Tab Rebon
How to get role @verified?
hello all, so this is definitely off topic. does anyone know a good guide/ tutorial for using git hub and compiling the jar files?
Thereβs quite a bit to it tbh
i use maven and just run command in terminal to download the source code, then package the files
its easy enough to find info on how, thats all i did
but actually setting up did take a while
Can someone explain this?
βCan I charge access to a specific part of my server, such as a minigame or world?" No, you cannot charge for any part of a server. Only the access. Once on a server, all players must have the same gameplay privileges. You may make a different server which features βpremiumβ areas, and charge for access to that server instead, but the benefits cannot carry between servers
Almost every server violates this.
This would mean it's against EULA to sell a rank that, for example, gives access to certain commands or kits. Yet I see numerous servers doing exactly that.
@gilded nova they arent SELLING ranks is the thing.
Excuse me?
its word play. You arent SELLING a product, They are donating and in return they get cool features.
some Towny servers most DEFINITELY violate the EULA but with ranks / kits / commands they arent being sold. They are being given as in game "head pats" for donating.
Which is also why, if you donate 500$ to a server and they instantly ban you there is nothing you can do about it.
Because you didnt PURCHASE anything. You donated (handed them money without expectation of recieving anything in return)
But Mojang has said that all players must have equal privellages. So whether they are purchasing or donating is irrelevant. Giving them a rank that has access to unfair advantages is against EULA
and things get complicated at what counts as 'unfair'.
Its a legal gray area and a complete cluster fuck. That said... it could be argued that there is no "fair" server.
even if the server doesnt take donations people who are given "staff" have more perms than a normal player which entail gives them significantly more priveleges.
True. But having a store that says "Purchase a rank for access to exclusive commands" is clearly against what mojang says here:
https://help.mojang.com/customer/en/portal/articles/1590522-minecraft-commercial-use
The Minecraft End User License Agreement (EULA) sets rules for downloading and using the game. The most recent version o...
Huh
welp, guess ima violate the EULA xD
again, argument could be made they arent purchasing a product. They are simply handing over money without expectations of receiving anything in return (in game or otherwise)
But what you said about 'giving staff perms' is a good point
how do Mojang argue that?
unfortunately after reading the EULA they specify that
If you read alot of "shop" pages where people can donate there will be fine text hidden somewhere saying something along the lines of:
you acknowledge and accept that you are not purchasing an item or service of any kind, you are making a non refundable donation to a server without expectation or receiving anything in return and acknowledge that you may still be banned donator or otherwise for any reason the staff of the server deem valid.
20$ says microsoft is just pissed off they cant get away with cramming minecraft full of microtransactions xD
Yeah, I might actually read what some of those stores have to say in their TOS. So donating for extra features is allowed?
emphasis on donating. and you do so without the expectation or receiving said "extra features"
that said im by no means a lawyer so i cant tell you exactly what you can and cant get away with. I just know that people are really good at finding loopholes xD
Yeah, true. Sounds risky to have a store without a lawyer, though, lol.
guess they are trying to limit it to strictly cosmetic shit. Im running a server that is 60$ a month.... yeah ima violate a lil EULA if i have to because no way in hell are people going to donate enough to keep that up in exchange for an over glorified hat....
And what would be your plan of action in such a case where Mojang get on top of you? Unlikely, but still...
I mean, I'm personally not in the financial condition to afford a lawyer.
You'd be surprised. My server costs about 250 a month and we only charge for cosmetics. Still make profit.
$250!? You'd have a large number of players then I'd assume.
Not really lol
Barely get over 20 online but there a lot of regulars
Maybe a bit less but it's not cheap
anyone know how to use commandsigns to move player to a different group when they click it?
as in, how do you get around their name not being in the command for the sign
I tried <name>
Jeezus $250.. what on earth are you running
Dedicated servers delivered in 120s with no setup fees. SSD disks, 256 IPs with no monthly fee, anti-DDoS and private vRack network.
Two of these
One of them is just for databases
We get the larger disk capacity version
Ah
One barely holds out main survival world lol
Must be a pretty large world
7 years old and only 78gb
The server was IP locked to New Zealand up until the beginning of the year
so we had very few new players after a short while
Tbh I think the only NZ server I joined was noirland
Nope thats not us π
Hey does anyone know the flash point of brussel sprouts?
That or the temperature they self combust?
far beyond the state you would want to consume them
I have a couple of questions regarding BungeeCord.
First off, should the bungee's player-limit be set to 1? My logic is that it should only be directing one user at a time, right? Or am I wrong?
Second off, I am having issues with configuring the fallback server. I have read that you are supposed to use priorities to define the importance of servers. My issue is that if the Survival server goes offline users are getting "Server Closed" instead of being redirected to the Lobby server. π€
so... there is a force_default_server option that should be enabled. that will then allow the priorities to be used. if you only have one server in priorities, then it will only try to send there on join, so you would need your lobby, then any other server you want to have them log into should lobby be down.
now for the other way, closing - you need a plugin like movemenow that should a server close, it will redirect the players that were connected there back to the lobby
Right. I was unaware that an extra plugin would be required to redirect users to another server on Server Close. I assumed that a server going offline would be treated the same as user losing connection. Thanks.
np
lets not.....
@quiet kettle use a FTP client like filezilla
@Berzerkz#0408 Rule #3 in #rules
oh he gone
@swift abyss what??
you asked how to upload a world, right
Yeah.. That weights more than 2MB
use a ftp client
That what I'm doing
then why did you ask? hehehehe
Whats that
youll need to use an external program like filezilla
And for what is that??
......
you are not making sense
you asked how to upload a world because you are getting an error that you are limited on upload size
i gave you how to do it
if you still have issues, contact your host
i cant help more lol
that is my issue
exactly
because you are trying to use your hosts webftp
and as i said, you wont be able to because they limit you
I download filezills client or server??
so download the program filezilla, get your ftp details and add them
Please help me.. I have been 3 hours trying to do this..
But Filezilla client or server?
then download it
ok
4 minutes
@quiet kettle go this page and enter details into filezilla
@manic oasis how do I access to that screen
Ah I see
Did it
But sais: Critical Error. Can't connect to the server
Authentication Failed 530
I'm so happy when people report someone adverising their discord here.... Thanks guys /s
CREEPER
can anyone please help me π¦ i posted a question in the general chat
@ruby willow did you find an answer?
@violet rivet yee, thx for asking
Awesome. Didn't wanna scroll through an HR of messages :p
π
The 2008 MacBook had a fucking FIBER OPTIC HEADPHONE JACK that worked with Mini TOSLINK, that's why there was a red LED in there
If you go to System Information > Audio, if there's something about optical S/PDIF in there then you have an optical headphone jack
Which is cool as hell
Unfortunately my newer MBP doesn't have it
But to be fair it's not like I need it
π
@hybrid loom you mean you are not happy when someone reports them, or you are not happy about people posting the adverts?
Hey Rainbow Dash! Please don't tag staff members.
Hey @swift abyss & @young citrus I got my shit workin. thank y'all
Anyone know plugin development and willing to help me maintain an anticheat?
(willing to pay you if needed)
anyone know a nice free mysql hosting
@modest raft sometimes your hosting will do it contact them
Their hoster wants extra money for a additional database for the MC servers
Having a Database is kinda a default nowadays
if you dont even have that, its a bad hoster
@vocal rivet did you saw the /s?
Yes, which is why I am asking
This looks like you sarcastically say that you thank people for reporting rule breakers
I'm so happy when people report someone adverising their discord here.... Thanks guys /s
It was a sarcastic way to say "thanks that nobody here reports an advertiser"
Well I do report them when I see them XD
I did report multible people already in the past XD
How does one report when clippy becomes angry π
DM
or ignore Clippy, he just reminds you to not DM the staff
I think the "Dont ping staff" is just for when you need help with LP, because that can get pretty annoying with all the "Hey I need help @Staff " pings, but for problems or replies to messages of the staff it shouldnt be a issue, right @hybrid loom ? :3
Hey Rainbow Dash! Please don't tag staff members.
Yup
Reports are always ok since it's an important thing and something only staff can deal with
The day they disable pinging people in certain ranks will be a nice day
They can disable mentions for themself in the servers notification settings
Ah
Creeper
What @fierce summit ?
I don't get it
You don't know about the revenge meme?
Sony vegas is allergic to the terms "oh boy" and "H" apparently. plz do not sue me captainsparklez it's fair use.
Never heard of it
:O
words of the lucky man himself
Why have we deleted the advertisements for the GM fork then?
lol
Because of rule 2? xD
an somebody halp me if someone knows this
um im using the xaeros miini map mod
and i enabled tp
and it says selector not something
So I have DeluxeTags on my server and it doesn't appear now on me since we started to use LuckPerms. We have EssentialsXChat in our server as well and the config is setup as Owner: '{deluxetags_tag} {DISPLAYNAME} &7&lΒ» &6{MESSAGE}'. Is there a way to get {deluxetags_tag} to work with LuckPerms?
@polar kayak did you set deluxe_chat: false in the config as noted?
@swift abyss Been set as that since we were using PermissionsEx
have you tried just using the {PREFIX} placeholder?
None of the EssentialsChat colors that I set have been working either ever since I added LuckPerms
Like LuckPerms completely disabled it
do you still have another perms plugin installed?
what is deluxe tags giving that LP cant for prefixes?
What do you mean?
or thats the plugin that allows users to set their own prefix, right?
It's the plugin that allows you to do /tags
yea
And it shows the tag for them
^ That is what my chat use to look like when we were using PermissionsEx
Now it's just plain with LuckPerms
and Owner is from deluxetags? you can set that in LP for the owner group and not use deluxetags
ok
I just want that format back
But ever since I removed PEX, LP has changed it to that
Why doesn't LP work with EssentialsChat?
it works with EssentialsXChat
That's what I'm using
essentials / essentialschat hasnt been updated in years
ok
But for some reason
I can't find the area to make it work
And it won't change back to the format
How do I fix it?
Cause this will make my server lose money :/
And probably make me go back to PEX to get everything working again.
Unless we can get this working.
have you checked with deluxetag support?
Do they even have a discord?
maybe github?
That's gonna take a while to get a response..
Since we are releasing soon I am trying to get everything to work
ive been waiting over 2 months on an update for a paid plugin for player changable tags because it doesnt work with LP
even after i asked in their presale area and was told "lp is a perms plugin, it has nothing to do with this"
and then yea.... after i buy it, they are reworking the whole plugin to work with LP
oof
@swift abyss So someone told me to go back to PEX. xD Pex doesn't have everything LuckPerms gives
Plus LP is more updated than PEX
it is your choice, but ive never given pex a second thought after switching
@swift abyss Is there a way to get LP to work with EssentialsXChat's color coding?
As shown in that link pic I put
not sure what you are asking for color coding. do you mean chat color or prefix
Chat color
i forget what the meta is called for that, you may be able to search in here for it
maybe this?
im not sure, maybe someone else with more knowledge on that can help. its possible for you to use the group format section to allow for custom chat color based on the group they are in though with essentialsxchat
@swift abyss So figured out the problem. LP turns all of the ranks to ALL LOWERCASE. So when you add it to Pex it puts it the way you typed it. With LP the rank is all lowercase.
Thanks for the help you've done trying to help me
ah, that was mentioned earlier by me somewhere too, like today lol. sorry i didnt think of it for your case
Ur fine xP
multitask helping 5 people lol
xD
Does anyone know how to set gamemode to another player I can't seem to find the command
@frigid pawn if ur using essentials do /gms /GMC or Gmsp or gma to access other gamemodes
It's the same as doing /gamemode
It doesn't work it says too many arguments
I'm really knew at the whole server thing, so could someone help me with permissions? I need like essential perms that staff need..
Are you using luckperms @manic pulsar?
If so you can type /lp editor, and type "<plugin>." and it should show the permissions for that plugin
well I have no idea what plugins you have you should be able to google the permissions for the plugins you have
It's completely up to you and what you want your staff to do
Can someone help me with setting the displayname to use as a placeholder but remove it from the chat?
the only way to make it not duplicate is in your essentialsx config, near the top is to uncomment add-prefix-suffix
no need to repost lol
then in the chat format section use {PREFIX} {DISPLAYNAME} {SUFFIX} instead of just displayname
then save, reload essentials config and let me knwo what shows
you are using per group formatting instead of just the default?
shows same thing
not sure what i can do to change it
just wondering @swift abyss would this part have anything to do with it? ```# +----------------------------------------------------------------------------------------------+ #
| Permission resolution settings |
+----------------------------------------------------------------------------------------------+
If users on this server should have their global permissions applied.
When set to false, only server specific permissions will apply for users on this server
include-global: true
If users on this server should have their global world permissions applied.
When set to false, only world specific permissions will apply for users on this server
include-global-world: true
If users on this server should have global (non-server specific) groups applied
apply-global-groups: true
If users on this server should have global (non-world specific) groups applied
apply-global-world-groups: true```
that is for context
ok, so it is adding displayname and prefix under the prefix placeholder
what is the need in using displayname?
from LP that is
well I want it to show as "&8[&bOwner&8] &bElementalGaming" in the chat but i want it to show as "Rank: Owner" on the scoreboard on the right side of the screen
I found something that might be useful but I dont want to mess with anything unless ik what i'm doing
ok, i thought you were using a placeholder that made it cap?
yeah
so its not using displayname anyway
I was
but its not now with that placeholder in scoreboard
but the problem is the member rank shows as "Rank: Default"
no no ik, I'm trying a couple different methods
ok
why not have it show the prefix in socreboard instead of just the group name?
Rank: [Owner]
because it shows up as "Rank: [Owner] &"
odd lol
and idk how to get rid of the & part
send your link for /lp editor
why?
.... ok, then send your prefix format - we cant do anything with your editor...
prefix.1.&8[&7Member&8] &7
to make the name gray
you can do that in essentials chat formatting
and that should clear up the & in the scoreboard
so is there a way I can change the default class to member?
I was reading this and I noticed the bottom half of those showing an "alternative" way but i'm not sure how to use it
so, bigger question, i ask everyone, why do you need it changed, you have the prefix set to member, thats the only thing people see
you or anyone else touching lp are the only ones that see the group as default.
ik, it's working perfectly now with the displayname
BUT, the problem is the chat when using the displayname
I noticed these two methods in the link i sent you but would this actually work? showing Default as Member
as in just the prefix? that is what i would suggest
as in just the rank name with a capital letter at the front
so rather than it showing as "Rank: Default", i want it to show as "Rank: Member"
you can set display name for default as member yea
possible to use a differenct placeholder in essentials chat config maybe, like %vault_prefix% or %luckperms_prefix% maybe??
if you have placeholderapi and download the expanison
worth a shot
Ok serious question whats the best version and build to use for a server for the best coverage ??
Paper / Spigot / Ect
1.8 / 1.12 / Ect
personally, i use paper for 1.12.2
I prefer spigot 1.8
Anyone here good with error codes ?
paper might be better for it but i just heard it doesn't get as much support as spigot
need to figure out why my server wont start
actually, I'll give your method a try jguerdnt
isnt paper lighter than spigot aswell or that just a myth ?
not sure about that, but i switched a server from 1.14.2 spigot to 1.14.3 paper and they thought something was wrong because there was like no lagg/etc
Any idea why its not starting ?
you are using 1.12 or 1.12.2 ?
build like 1617 or 1618?
1618
have you been on another build before this?
Deleted all le files except plugins and restarted xD
fuck theres alot of red errors
anyone know a way to increase scroll back on linux screens ?
you got that from what?
download now on the protocal π
Did I just read that you were running 1.14 then went back to 1.12?
unless you deleted the world, that wont work
No
it works
for world guard, you need the right version of we
Cry
and you are usign the 1.14 version of we i bet
you need to be back on the 6. version
not 7
read version info on the pages
i swear
just gotta slow down
So i need 6.
the "download" button isnt always the best way
that wont work on 1.12.2
oof
the yellow normal for prepairing a seed ?
http://cruxedkat.live/s/20190186422.png
i did
that says its trying to go back
That errors fromt hat
so you stopped server, deleted world, world_nether and world_the_end folders and then started server having it run the paper-1618.jar file?
ye
can you access the server and world?
since you arent keeping anything, it may be better to just do a full wipe and start completely over, even deleting any configs at the base directory level
POGG
http://cruxedkat.live/s/20190115392.png π
I DM'd you @swift abyss hope ya dont mind
Anyone here code plugins
After a twitch Subscriber sync plugin (NOT A WHITELIST PLUGIN).
Features
Ability to link and unlink Twitch Account
Auto sync the roles every 24hours so people can lose the rank (if it expires, Just to reward some of my supporters on twitch) my servers going to be public
CREEPER
Haha
Hey I need some help with Filezilla. Please help me
well.... we cant help without knowing what help you need lol
It Sais error everytime
ok
But it Sais error
i may be around, but many can help here, just post the issue
OK thank you
@fading warren my friend may be able to add me
@limber magnet i dont, try searching "run command when player dies plugin" - id look, but i cant see spigot/bukkit sites at work
Okay thanks anyway
@peak iron for essentialsX - i think the only way to remove a kit is to do it from the kits.yml file
ummmm
idk where is that
π
hmmmmm
@swift abyss Found it
And then i have to restart the server?
@swift abyss
??????
π
Hello
Hello
Hello
Greetings
Salutations!
Anybody here familiar with the CratesPlus.jar plugin? I just need some help configuring it
Hey, I need support.
I want to enter the permissions from my bungee system but they don't work,luckperms is also set up by bungeecord so also with mysql ect.
@gilded nova You need to setup Luckperms on all servers + bungeecord.
I have luckperms only the bungeecord server and on the lobby server so all the servers I own
Use /lpb for bungeecord
where should I run this command?
bungee console perhaps?
then enter your commands lol. you just asked us how to enter them on bungee.
then enter your commands lol. you just asked us how to enter them on bungee.
so there is a command in the bungee system but for this you need a permission and I add the permission but the permission is reportedly still missing
:paperclip: https://github.com/lucko/LuckPerms/wiki/Verbose
@gilded nova Are you adding the permission to the bungee luckperms version?
I just type in / lp group admin permission set Permission
Luckperms only handles permissions that can be excuted on the server luckperms is running on. So commands you run and execute on the bungeecord server, needs to have its permissions in the bungeecord luckperms. Commands you run and execute on the lobby server needs to have its permissions on the luckperms version for lobby
Luckperms on bungeecord and lobby, are they setup to use the same MySQL server?
Yes
You can use Verbose on Bungee with /lpb verbose ...
His problem is related to syncing. Been helping him in PM and I have no clue what is going on there.
He is using the same MySQL database for both bungeecord and the servers. When he does changes to the permissions in-game, they don't reflect and update on the bungeecord server. Even lp sync and lpb sync doesn't update the permissions.
If someone know what's wrong there, then i'm sure he would appreciate the help, but I don't really get why LP would behave like that.
He doesn't have any permissions for luckperms on bungeecord when doing commands from the client server
Would that affect anything, syncing wise?
Anyone know how to make your group name on featherboard the same color as your prefix
Ive seen a few server such as vipermc do it
Are you using a placeholder to display the group name?
sorry if im understanding the question wrong
yes
can you send what you have ?
or maybe exactly what you want like a pic of what ViperMC does? trying to better udnerstand the question. But as of now I would assume using color codes before your placeholder value?
I was using {prefixcolor} and {group}
AFAIK based on the documentation that should work. How do you have it on the scoreboard exactly?
Just checking but you do have vault installed correct?
yes
if(!playerExists(uuid))
{
try
{
PreparedStatement preparedStatement = zMain.getInstance().getConnection().prepareStatement("INSERT INTO " + zMain.getInstance().getTable() + " ('uuid', 'nickname') VALUES (?, ?)");
preparedStatement.setString(1, uuid.toString());
preparedStatement.setString(2, nickname);
preparedStatement.execute();
preparedStatement.close();
}
catch(SQLException exception) { exception.printStackTrace(); }
Does anyone know what I am doing wrong?
Line 42 is "preparedStatement.execute();"
That there is a SQL error, either the query itself is incorrect, or you've stored data in the fields it can't validate upon query. It has nothing to do with the java code itself
But, @scarlet shard, try
if(!playerExists(uuid))
{
try
{
PreparedStatement preparedStatement = zMain.getInstance().getConnection().prepareStatement("INSERT INTO " + zMain.getInstance().getTable() + " (uuid, nickname) VALUES (?, ?)");
preparedStatement.setString(1, uuid.toString());
preparedStatement.setString(2, nickname);
preparedStatement.execute();
preparedStatement.close();
}
catch(SQLException exception) { exception.printStackTrace(); }
I figured it out. It was the ' next to uuid and nickname
What I removed :)
Yup
Now I do have another issue
Im trying to get a nickname from my database using the users UUID
public static String getNickname(UUID uuid)
{
try
{
PreparedStatement preparedStatement = zMain.getInstance().getConnection().prepareStatement("SELECT nickname FROM " + zMain.getInstance().getTable() + " WHERE uuid = ?");
preparedStatement.setString(1, uuid.toString());
ResultSet resultSet = preparedStatement.executeQuery();
if(resultSet.next()) { String nickname = resultSet.getString(1); return nickname; }
resultSet.close();
preparedStatement.close();
}
catch(SQLException exception) { exception.printStackTrace(); }
return null;
}
String nickname returned null
Btw, to make it simpler for you, I'm no java dev, but i code in many other languages
Can't you do this
public static String getNickname(UUID uuid)
{
try
{
PreparedStatement preparedStatement = zMain.getInstance().getConnection().prepareStatement("SELECT nickname FROM ?? WHERE uuid = ?");
preparedStatement.setString(1, zMain.getInstance().getTable());
preparedStatement.setString(2, uuid.toString());
ResultSet resultSet = preparedStatement.executeQuery();
if(resultSet.next()) { String nickname = resultSet.getString(1); return nickname; }
resultSet.close();
preparedStatement.close();
}
catch(SQLException exception) { exception.printStackTrace(); }
return null;
}
?? is basically sugar for "Dont escape", can't say for sure if that works in java, tho, it works most places
oof you think it is the double ??
Single ? will add quotes around it, escape the input, double ?? will not.
Right, is it necessary to call resultSet.next() ?
Isn't the first element the default element, and calling next() then you are skipping it? And you only have one result to begin with?
I am not sure. Im going to be honest, last night was my first time testing MySQL with Java.
I only am supposed to have one result. Oddly enough, .next is a boolean;
And you only have one field, wouldnt it be. resultSet.getString(0) ?
That's why I am confused
But like I said, i'm no java dev, i code in php, node, javascript and such. Not much help, just throwing things out there
Maybe there is something wrong with my statement?
PreparedStatement preparedStatement = zMain.getInstance().getConnection().prepareStatement("SELECT nickname FROM " + zMain.getInstance().getTable() + " WHERE uuid = ?");
No
Nothing wrong with the query itself
Test it in phpmyadmin or similar
If you have access
Should work fine
Oh that wasn't java. That was SQL
But you do if(resultSet.next()) return, then you close
But isnt everything after return ignored?
Hence you never run your .close() statements
Aka, the code stops running at the first return
PreparedStatement preparedStatement = zMain.getInstance().getConnection().prepareStatement("SELECT nickname FROM " + zMain.getInstance().getTable() + " WHERE uuid = ?");
preparedStatement.setString(1, uuid.toString());
ResultSet resultSet = preparedStatement.executeQuery();
String nickname = resultSet.getString(0);
resultSet.close();
preparedStatement.close();
return nickname;
I originally had it like this
Which looks more accurate, just in terms of code flow
Just a FYI
You are sure your testing the updated jar? :P
Typical mistake to make :D
Let me rebuild and try
From all i read, then the error is related to not moving the cursor to the first row
Which you do with resultSet.next()
Testing it now
I hope your not using the last code snippet you sent
As it's missing resultSet.next()
No I am not
public static String getNickname(UUID uuid)
{
try
{
PreparedStatement preparedStatement = zMain.getInstance().getConnection().prepareStatement("SELECT nickname FROM " + zMain.getInstance().getTable() + " WHERE uuid = ?");
preparedStatement.setString(1, uuid.toString());
ResultSet resultSet = preparedStatement.executeQuery();
if(resultSet.next())
{
String nickname = resultSet.getString(0);
resultSet.close();
preparedStatement.close();
return nickname;
}
}
catch(SQLException exception) { exception.printStackTrace(); }
return null;
}
This is what I am playing with
getString(1)
Not 0
(My mistake, all languages i code in the index starts at 0, but in java its 1 apparently)
Arrays, list etc start at 0
But for some reason.... SQL statements, result sets start at 1.
Guess what
Works?
Typical mistake to make
Been there, done that, a couple of thousand times
But you should try what I suggested, it makes the code so much easier to read
If it works in Java as well
Alright, I'll change it
public static String getNickname(UUID uuid)
{
try
{
PreparedStatement preparedStatement = zMain.getInstance().getConnection().prepareStatement("SELECT nickname FROM ?? WHERE uuid = ?");
preparedStatement.setString(1, zMain.getInstance().getTable());
preparedStatement.setString(2, uuid.toString());
ResultSet resultSet = preparedStatement.executeQuery();
if(resultSet.next())
{
String nickname = resultSet.getString(0);
resultSet.close();
preparedStatement.close();
return nickname;
}
}
catch(SQLException exception) { exception.printStackTrace(); }
return null;
}
Anyone have any experience with ChatControl?
I do
@quiet salmon
I am using ChatControl, and making a custom nickname plugin. When I use chatcontrol pro on my server, I am unable to see my nickname. However, when I uninstall it I am able to see it. ChatControl has a Formatter.yml that allows you to edit the chat of a player. I have {nick} being used instead of player. Any ideas?
Well you could probably disable that formatter
ChatControl has pretty extensive options
You can do that?
Pretty sure
@quiet salmon It takes away the whole player name.
Hmm, wierd maybe check the wiki for the plugin for awnsers. They may have a way of doing it
Okay so I figured out that both ChatControl Pro and LuckPerms are causing issues with my nickname plugin.
I set my nicknames using .Displaynames and it seems chat control and luck uses prefixs and suffixs? Would there any way I could code around this?
anyone know how to work grief prevention?
wdym? like use th eplugins features?
well im using grief protection, how do i prevent breaking blocks in spawn from everyone but admins?
im trying to use an admin claim but it still doesnt prevent anyone from breaking blocks
Do you mean Greif Prevention or Protection? cause grief prevention is basically gonna be used by players for their bases but to protect spawn you need to use world guard
world guard?
create the region of spawn and deny certain flags that you want. Then give admins the proper permission to bypass the flags
one sec ill igve some links
this will be perfect for what you need take some time to watch the instruction video and look at the permissions and flags to be able to set it up how you like
i am running sponge... do you know what would work in this way for that?
I just read that worldguard is not on Sponge, and people do recommend the GriefPrevention plugin. I have never setup any sort of Admin claims with it but I would try to see if they have a form of wiki or documentation somewhere
Also some recommned UniverseGuard but i dont see a very up to date version of that
ive read through it a few times already XD ive tried everything in the docs that says how im supposed to do it with no luck. perhaps im reading it wrong. im gonna watch a few videos. thank you for the information tho
admin claims should work though
here is the link I found but im sure youve read it https://dev.bukkit.org/projects/grief-prevention/pages/how-to-guide-for-administrators
ive read through the sponge docs
try asking their support maybe
https://discord.gg/jy4FQDz
was the link for their discord on the bukkit docs? i couldnt find one on the sponge XD thank you
yes the link is on the official sponge support thread
Essentials has a basic economy right ?
Yes
I have a big of an off-topic question for Spigot, not LP
But what version of BungeeCord-Chat does it use? I've downloaded artifacts from BC's jenkins, but they don't have any of the set* methods, so I don't know what to use
Maybe IntelliJ is complaining because BungeeCord uses lombok, maybe that's generating the setter methods
Yeah, it's lombok
So, it's not the version but how do I get IntelliJ set up correctly?
Nevermind, installed the Lombok plugin, added the Lombok library, and the setters are recognized correctly
does eomone know a good plugin for more admin commands like smite and invsee
EssentialsX has both of those if you don't mind installing the whole damn thing
It works on 1.14
Just be warned EssentialsX is extremely monolithic
Both of the commands you asked for, smite and invsee
You give them permissions by using luckperms, ofc
but the other players cant destroy block or place
and i want them not to be effecten by this plugin how do i fix that
so they cant use commands
but can do other stuff
If you installed essentialsAntibuild, remove it or give players permissions to use it
!usage
:paperclip: https://github.com/lucko/LuckPerms/wiki/Usage
but they also cant eat
Read that also to learn how to use LUckperms and to set permissions and create groups for your players
i knwo how to do that
Then what are you asking
Because it sounds like you were asking how to set permissions
When masking a IP behind a domain is a CName or A thats used ?
Hi, How do I get a good world for a faction server?? Do I use seed??
Just generate a world, buy a premade Factions world, or use some form of world generation plugin to get a custom world. Tons of different options there @dapper peak
Whats the plugin that checks for file changes ?
creeper
while this is off topic, its not a spam/meme channel
That "creeper" message starts to piss me off.
It's not funny, it's not cool and not interesting. It's just boring
very agreed
Is it possible to create clickable link in ban message?
Like
You are banned!
More info at https://www.google.com
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
Players can click on the link to go to the page
Anyway to make a different group the default group?
!default
that will explain how
and set parents?
like for prison servers were all roles have the same perm as one role
not sure i understand. most prisons servers start with say RankA - that will inherit from default, then RankB will inherit from RankA
hmm
@swift abyss Any idea on command to give a user a role commmand in game?
!usage
:paperclip: https://github.com/lucko/LuckPerms/wiki/Usage
its on that page, roles are groups and you set a parent
lp user Luck parent add admin ?
its easier than us explaining each time the same thing tothousands of people
yes
is you use parent set it removes them from other groups and "sets" them to the new one
its better to use add than set
eh, best to start with default (which is 0 by default) and then increase from there. id leave a 100 to 1000 gap between to allow for expansion later
also, go ahead and setup your meta weights. if your helper group is weighted at 900, id make their prefix 900 as well, just keeps things cleaner
Default weight is 0 @swift abyss
ok im here
@gilded nova are you using essentials?
yes i am
so in the config look for the section Title Essentials Spawn, also do you have the Essentials Spawn Jar?
yes
Okay there will be a few settings to look at
ok i am there at the config
and what is the issue again? they are sent to /spawn when joining
instead of last location
no
if they rejoin they spawn on the vanilla worldspawn coordinates and not were they logged of
off
what plugins are you using?
EssentialsX, MultiverseCore, Vault, LuckPerms, WorldEdit and WorldGuard
so just want to make sure I understand this correct me if wrong, lets say a player logs out in their storage room, random example, and when they log back in it sends them to the default world spawn ?
or to a whole seperate world spawn
i could hop on if you want to get a better understanding
PM me
Yes youre example is right
they spawn at these coordiantes which is the default world spawn
I think your missing EseentialsSpawn
it would show under the Plugins
just double checked on one of my servers
I would try to reinstall it, I see that is a few minor versions behind
does it come up when issuing /pl
try to run the command from console to double check unless that plugin blcoks it there aswell
New Players on the server dont get a newbie announcement too?
i think something broke the last half hour
i restartet the server too what couold it be
do you have a list of all the plugins you use? or was that list complete that you sent minues the extra essentials jars
also what MC version are you running
yeah PM
anyone know if there is a way to manually allocate more CPU to multicraft? am hosting a server and multi-craft panel on a dedicated that i rent but the server is absolutely tacking the CPU usage that multi-craft has access to while only using about 15% of what i want it to have.
Not really. It's single threaded. Multicore CPUs won't do much in ways of helping. Core speed is what you want however.
@tardy lava
ouf alrighty, ty @violet rivet
Question - And only if anyone knows and it is okay to ask
I am using Simple Portals and can not remember the way to set a direction when you exit the portal. For example I want the player facing north on exit currently they face east towards a wall. How do fix it so they face north?
Question - For some reason Luck Perms in GUI ain't loading on the server I'm on. Any soltuions?
Errors in console on startup?
What is the error saying?
and they leave...
when people dont like that a random gui plugin not made by same author as LP doesnt work.
Is there a good manual or something of built-in bukkit superperms? why it would be not possible to query all the permissions available that are provided by a given server and it's plugins?
Not very helpful... sorry
you wanted all the default bukkit perms. i gave you the list of all default bukkit perms.
I asked for a way to list the permissions provided by a given server and its installed plugins on demand
maybe a permission listing plugin which... its a hard decision from what i've looked at
so you run a command/etc and it pull form all plugins on that server and just gives a list of all perms? thats not a thing
would have to do like everyone else and get the perms from each plugins docs. thats what i do and put them all in excel, then decide what group gets each perm
you can use verbose if there is an action or command that you can find a perm for
its very helpful because it lists perms called for while you run it
Why waste time researching when one could have the requested information right away on demand?
docs may also not be up to date in some cases
and that is where verbose comes into play as ive suggested
you run verbose, perform the action/command and LP will tell you the perm(s) called for in that time
I said i want all the available permissions listed at once instead of trying every command
there's some hidden ones such as silent join/quit, spying, etc
also its me or op doesnt seem to work properly anymore after establishing perms in lp?
no idea
nothing is hidden, essentials.silentjoin is for the first example
friend who uses lp said he had no issues
oh, its from essentials, didnt realize that
do i need to inssist repeat on my request?
for op, you have a few options
you can use default op or use LPs autoop feature
but testing perms should not be done while op
sorry, but why have you gave me workarounds instead of something that would do what i said or at least a plugin that would list them?
workaround?
every owner/dev/admin that does perms literally goes to the plugins website, looks at their list of perms and inputs them based on the needs of that server.
should there be something that is giving them an error of denied permission, they use verbose
thats the way perms works
there is no command or plugin that lists all perms for a server based on the plugins on that server. each plugin can handle their perms differently. LP, while it has an autofill feature, still may not show some perms because of how the plugin was coded
LP shows permissions that were checked atleast once since the last server restart
If LP had a feature that would scan all classes of all plugins (including the server). It would not just be a huge work to implement, takes time to get results, it also can not catch up anything, as not every plugin uses CommandSender#hasPermission to check for permissions (I for example have a own boolean which also automatically sends a nopermission message, quite useful)
Hmmm, alright
Creeper
this is not a meme/spam channel
Andre whishes mute perms for that
yea lol i was here a few times when that was done
he was not happy
its quite annoying, happens on several servers im in
rip
I sent the gui above a message back, it's contents were "Creeper".
He replied with "aww man"
Where is this trend even coming from?
there is a song made a while back, a minecraft version of Usher's DJ Got Us Fallin' In Love
it has made a return in meme form
waaaaaay past your bedtime lol
yea, i get a bad headache when i stay up like that
π
Aac
@open junco What reason if ya dont mine me asking
That sonic image 
and people dont have access to interact even tho the flag is set so they can
Be careful, had people in my past that lied about their "ability to do stuff" just so I disable the protection π
What what? You up and download files?
Anyone know what plugin in here could be causing items to despawn, Iv users complaining about it xD its despawning items in like 20seconds >.<
http://cruxedkat.live/s/20190351309.png
.
@fading warren Got any kind of clear lag or item clearing plugin installed?
Huh?
Ah, try removing them one by one until the problem goes away
then you know your problem plugin
is there something that destroys villager breeding
in esseentialsx or luckperms
my villagers wont breed but i see hearts and shit
got 4 beds
im using impulses farm
i mean villager breeder
Villager Breeding in 1.14 has changed! I'll show you a very simple to build infinite villager breeder that requires no redstone and also doubles as a carrot/...
this one
Do you know the feeling when you said the best joke ever, no one was there to hear it and then when someone is there, you dont remember the joke?
Hey Amar! Please don't tag staff members.
what's difference between spigot and paper?
spigot is more optimized than bukkit, paper is more optimized than spigot
@red frigate id try tab reborn
I'll take a peek at it
Could not load 'plugins/HologramsPlaceholders-2.7-SNAPSHOT.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: PlaceholderAPI
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:224) ~[patched_1.14.4.jar:git-Paper-156]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.loadPlugins(CraftServer.java:355) ~[patched_1.14.4.jar:git-Paper-156]
at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:218) ~[patched_1.14.4.jar:git-Paper-156]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:869) ~[patched_1.14.4.jar:git-Paper-156]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
what's wrong?
Install placeholderapi
how about [20:23:17 ERROR]: [HologramsPlaceholders] Unhandled exception number 512 occured in onPacketSending(PacketEvent) for HologramsPlaceholders
java.lang.RuntimeException: Cannot retrieve entity from ID.
what command should i use to add perms in game?
!usage
:paperclip: https://github.com/lucko/LuckPerms/wiki/Usage
Guys.
I want use Linux.
But i don't know what linux.
For programming , music and internet stuff.
Not others.
What do you recommand?
Actually Linux Mint sounds good but idk. What do you think?
I'd recommend KDE Neon or Xubuntu for beginners @kind spear
Also google is your friend with everything linux related
Okay who else heard about the El Paso shooting?
I recommend, Debian, Ubuntu, Fedora, Alpine, CentOS and Deepin
Best all arounds would be Ubuntu, Fedora and Deepin
!sync
!bungee
Where does everyone host there servers out of curiosity im from the Uk need a decent VPS
SoYouStart
What chest shop plugin are you using?
you on spigot? what mc version?
It will be working with spigot?
why would i ask if you were on spigot and ask the mc version if i would send soemthing that doesnt work for you?
π
Well thx then i will try it
they are still beta releases for the newer mc version, but its a free plugin
i use a different plugin, but the last update was in dec 2018 - i would assume it works on 1.14 - but its a paid plugin. maybe you can ask on their support if you want to go that route as imo its a better plugin https://www.spigotmc.org/resources/shop-a-simple-intuitive-shop-plugin.9628/
Is contabo worth using ?
@fierce summit windows 7 and newer has a snippit tool built in that allows for selection, i think its ctrl+prtscrn, i have mine set to just hit the prtscrn button
and it auto goes to selection mode
do you mean snipping tool or what
because I didn't know that had a keyboard shortcut
yea, there is shortcut for that tool
@sand stirrup you can bulk load perms, but how LP handles that is that you would need a file of all the commands and then use LPs import command. you can get a better idea of how that is done by /lp export perms.txt and look at what is there (if you have some perms on the server already)
and run the import twice should you add groups or perms to groups that are just being created.
Hey Guys, do know any Plugin where my Players can Safe (Lock) their Bases by Placing a Special Block. So a certain area is safed and claimed by them?
You could try Lands or Griefprevention
GP is really good, if you only want chests, then something like lockette
GP is on sponge as well besides spigot
why cant I right click signs and buy/sell with clicking?
could be spawn-protection setting in server.properties
is the [buy] text blue?
if not, you need to enable in essentials config
with [heal] is working
but why I cant buy items from shop then? It said that shop sucessfully created but when I right/left click it doesnt say nothing
probs ask on M.O.S.S discord, they should be able to help better on that
you can search here for the discord link
lol
@dense quail near top of essentials config, uncomment add-prefix-suffix and make sure its false.
then change format: '{DISPLAYNAME} &f> {MESSAGE}' to format: '{PREFIX}{SUFFIX}{DISPLAYNAME} &f> {MESSAGE}' but the prefix stacking is the better way to handle that instead of using a suffix as the second prefix
oh right so i export it and adjust my file to follow the format then import somehow?
yes,
to import, its the same as export just with diff command
you still tell it the filename
its better if you add the groups in LP directly, you can do from the import, but make sure to run the import a few times to verify eveything is there
okay do you mind if i PM you if i have any issues?
thats fine, i bulk upload stuff fairly often
this looks like a command log instead of all of the groups in a file
i doubt this is plausible with as many groups as i have and so many players
I think you can make that one in like 10 hours or less
Does anyone know of a plugin wherein one can buy a rank with in-game currency and have it only for a month?
@dusky wing you on spigot using EssentialsX? i cant remember your setup
Yes, EssentialsX
I'm considering making a BossShop for it
I don't know how to make it last a month though
Easy option is to just create a kit with the cost and have it run the command. set the delay/cooldown for the kit for the same amount of time that you want the rank to last. the command that you will use in the kit will be:
/lp user %player% parent addtemp <group> <duration> <accumulate> you could use deny instead of accumulate, but just in case essentials time versus lp time is off by a second or more, it would charge the player for the kit, but not give the rank. leaving on accumulate would lessen any issues.
make sense?
