#general
1 messages ยท Page 47 of 1
Now the entire website feels too dark to me ๐ I'm picky haha
hmm but it looked ugly with the super light grey
Yea, I dunno ๐ญ lol
Got my monster
Gimme a few min to get on my pc because my laptop is meh
Can't do white or bright colors unless I change all font and outline colors
Wrong
I tried tan... so ugly..
I'll get u a color palette one sec
Fun fact
I was almost asleep
then u pinged me
and now I'm drinking a monster and abt to make a color palette
xD
@gilded nova Are you doing that in php or html/JS
wait what?
ur web page
Right now the website is just PHP and HTML
Yeah
& MySQL of course
duh
how else store all the info
:3
im making u a web mock up with the colors I think u should use
@gilded nova hows this
helping dude w. groupmanager perms I'll test it in a bit
ok, I'll write down the color codes
Header: #616161
Header Div: #4C4C4C
Page BG: 7F7F7F
Footer Main: #616161
Footer Bottom: #4C4C4C
@gilded nova where'd u learn php?
Self-taught?
Yep if that also means youtube videos ๐
xD
I need to learn for this project I'm doing for my school's JROTC site
Check out The New Boston aka Bucky Roberts
who?
goolging
how many langs does this guy know..
I want all his knowledge lmao
He doesn't do all his series I think though
the thing is
with php
all I need
The PHP is taught by some dude called Alex
is to have a variable be stored
and editable
and then called-back-able to the index.php
so I can have an admin panel where the text can be changed
o.0 like website.com/&variable=derp
super simple shit
nah like
u go to admin panel
Oh, that's not simple, I haven't learned how to do that either
and u want to edit the main body of index.php
u edit that hoe
ez
Maybe I'll do it in javascript
idk yet
like "Admin Panel > Change the "Name" of your website > Text Field > Submit > changes name in header.php
I tried finding out how websites do that, and i have no clue
nahhhhh not shit like that
I could problably find out through websites I've bought
thats too much
how old r u?
same concept though, right?
19
15 โ
It's easier to learn coding languages when you're young ๐ I started too late ๐
Anyways, some basic stuff
Shouldn't be too hard
It's just setting vars
like
It's not basic as far as I know ๐ค
Lemme show u how basic it is in java
Yea, same concept, but with vars is what you mean
like
if it's simple in java
then it should be simple in php
like "<text placeholder="Change the description of your website!"> </text>
<button type="submit"></button>
Then the action will change the text, or for you text after a variable, that's somewhere else on the website
yeah
shit like that
super simple
I've learned how to change a file, and get contents of a file trying to find that, but it wasn't what I thought it was...
Eh, you might be able to use that actually
{
Double num;
void input()
{
// Scanner
Scanner scan = new Scanner(in);
out.print("Enter a real number: ");
// input
num = scan.nextDouble();
}
void output()
{
out.println(" You entered: " + num);
}
}```
Ok so that code
right there
tells u to input a number
then calls back the number
you can do that with text too
thats all I wanna do
with php
You might be able to do
$variable = file.txt;
Then, when they change a text field, write the contents to that file.txt
idk
I'll figure it out
I havent even started with php
Try to tie it in with that, and just setting the $variable, to the contents of a .txt
I feel like I can just store all the variables in a yaml file somewhere
.txt or .php or whatever
There are gonna be like
hundreds of editable things
so
/inc/edits/ or something
It has to be able to be editable long after I graduate from HS
It's for my Highschool's ROTC website
the instuctors have to be able to edit it
do my color scheme now
Header: #616161
Header Div: #4C4C4C
Page BG: 7F7F7F
Footer Main: #616161
Footer Bottom: #4C4C4C```
@gilded nova ;3
I tested them out, I can't decide on a color, none feel right, I might need to change the color scheme a little so it fits
no, u use them all
;3
not just one
whats ur fav color?
I don't have one ๐
๐ฎ
how not
Ima try changing the font color to black, and the background to white, and maybe tomorrow..
gl
Found out what I need to do
I need to set the variables with an admin panel thingy
then just echo the vars
o.0 If you found a page with it, link me it ๐
idk, I'm just skipping around the php tutorials
So like, I can grab the text in a text box that someone sets then do like $text = textFromBox
righhttt?
or ur right, I could do the reading and editing the text files
cuz I can do
<?php
$text = 'This would some how be how the text box sets this varible thingy'
echo $text
?>
Oh shit
how do u grab vars from other .php files?
๐ฎ OR
I can like
put it all in a mySQL db
๐
is that a thing? @gilded nova
oh wait, or I can just not over complicate it and use forms that set vars
You can place variables in like a "variables.php" like;
<?php
$one = 'Derp';
(Don't end it)
Then in your main page, or header.php do
<?php include 'variables.php'; ?>
Then anywhere you can place the $variable
ahhh
Okay
php is kewl
I can put html in php right?
with <body></body>
so that I dont have to recode everything I've done so far
or if you wanted to end the php:
<?php
$one = 'Derp';
?>
Then place it in something like
<a href="<?php include 'variables.php'; echo $one ?>">
the first example looks more simple
You can place PHP inside of HTML yes, just make sure your page is like
index.php
so php and html code works
yeah
ok
then when I want to inject some php into the middle of some html what do I do
Also if you wanna use <?php ?> inside of a html "" you need to make it like:
"" for the html, but inside all of the PHP it needs to be ''
^ Lol sent at the same time
gg
anyways thx for the quick run down
I struggle with it a lot ๐
I might pm u in the future ;3
if thats ok
<th class="tdheader tableoutline" <?php if($sort == 'ranking'){?> style="color:#ff9900;" <?php } ?> onclick="window.location='http://localhost/serverlist/index.php?lang=<?php echo $language["lang-type"]; ?>&sort=ranking'"><i class="fa fa-trophy"></i> Ranking</a></th>
Here's an example from my website though
of course it's ok
Hi, guys!
How can I change the nickname color from the group or the individual player?
lp user roix addprefix 1 &2[YaPlakal]&c
Red color code here does not affect the color
*color nickname
Yea, the white also feels off to me...
If you're using a chat format setting plugin, make sure your chat-layout is like
{PREFIX} {PLAYER} and not {PREFIX} &f{PLAYER}, so the color from the prefix will carry over to the displayname
yes it does look off
try using the discord chat backcolor
Just too bright, but grey also looked off...
definately
It feels strange changing the colors to darkened colors though ๐
minecraftservers.org is like the only decent looking server list xD
of the outline and text
My favorite parts were the footer and table, since I believe they look pretty dang good
which is why I gave u a light grey thing
I due like the navy tho
Indie you should really try a dark color with white text
yeah
(i dislike white or bright sites)
Yea, tbh the white text was better ๐
White background is too harsh on the eyes
lemme get u that bg color again
#39414f
Sets the prefix to a message. {{prefix}} - prefix (set as an option in a permission plugin), {{suffix}} - suffix (set as an option in a permission plugin), {{name}} - real name, {{displayname}} - display name
prefix="{{prefix}} {{displayname}}{{suffix}}&f: "
Use Nucleus. Here it is necessary to change something?
indie try a darker color for the lines around ranking server players etc
not sure if grey will work out
no because grey on navy blue dosen't look good
lemme get u a deeeeeppp navy
lmao
#182538
o wait
Now I understand the struggle of front-end development ๐ค
make it this color: http://i.imgur.com/EF9G8aH.png
so it matches
๐
lmao coulda just said the color of the dividers or something ๐
meh
it's 3am
i'm not thinking straight
btw, I don't know any front end struggles: http://i.imgur.com/DGLepx2.gifv
All I do is front end xD
You don't notice any back-end in the pictures, the main back-end is the URL
/index.php?lang=en-US&sort=status
Actually yea, cause the "status" text is orange, you can notice it that way ๐
xD
well, I dont do backend
so
I just make good looking sites
check out https://sskyblock.com 's portal
fancy, but the domain is kinda cringe
I wanna try their forums software one day, I don't remember the name, but it's free & on spigotmc
I love using XenForo
what?
that forum
is xenforo
no
i own sskyblock
yes
o.0 tf
weird, it looks like another forums software I've seen
I guess its just the design
nameless?
yea i think
this looks nothing like nameless
look again ;3
"not xenforo" http://i.imgur.com/2Xk6APP.png ;3
o well ๐
Ima show u this gif of this other site I made/in development when the gif uploads
Ima head to bed, I'll still be able to reach my keyboard though
aight gn
fancy
ikr
I'm in ROTC
at my high school
Opens Google
thats the site
o lol
Ah
then google "JROTC"
cuz i'm not in college
me either ๐
I'm doing it cuz it looks good on a college resume
xD
and good leadership skills get aquired
meh
I might not go
I just finished my freshman year of hs
I like it so far
I met the hopefully love of my life
but meh
shit can happen
Shit does happen. a lot.
mhm
I've been in so many ruined relationships, and I've helped my friends through so many shit relations
her and I are nearly 2 1/2 months into our relationship with no fights or anything yet so
I can honestly say I'm in love, idk if it'll work out in the long run, but it's working rn
and thats rlly all that matters
Yea, just have fun while you can
exactly
and I don't mean 'fun' in a bad/good way ๐
I know
thats not good
maybe shes with someone else
;3
then why are you with her
come on bro
If she a hoe, dont be /that/ bro
I have depression too, I get it
lol ur ugly?
prove it
send a pic of ur face
;3 pm
xD
So many people know my real name idrc anymore
and i'm the only mason herbel in the usa so
Yeah
welp
gl bro
I'll cya tmw?
yep peace
get some sleep
You too after your work lol
Meh
I drank a monster
im not sleeping
caffine makes me tired
k.. little confused about grief prevention, how many blocks does a player get?
i want everybodies claim to go for y=5 to y=128
do i ahve to take the y=level in account when i calcualte how many blocks to give them?
does it go from 0 to 255 by defalut?
this is where i'm getting confused.. if i need to add blocks to the player for the Y or is 2500 blocks enough for a x=50 y=255 z=50 claim
i knwo i can change that with perms for each group,
i haven't used gp in a while might be something they changed
I belive horizontal and vertical blocks all count ๐ค '
@onyx saddle You can ask people at the GriefPrevention Discord. They'll have a lot more knowledge on the matter
heyyy
hay
I'm coding a custom tab list rn ๐
So far I have the player names having prefixes, but the header and footer are being a bitch because I don't want to use an API, so I'm having to use a protocol and hack it
wat
Yes
there are methods in bukkit for it
a protocolhack
no
you have to use NMS
for the header and footer
Yea, I tried learning that also, gave up
Was coding a YouTuber & Staff Disguise plugin
So I wanted all plugins to grab player.customName(), but the chat was working, but didn't understand the tab stuff...
o
this is how u set prefixes
public void onJoin(PlayerJoinEvent e) {
Player player = e.getPlayer();
if (player.hasPermission("tablist.owner") || player.isOp())
player.setPlayerListName(ChatColor.DARK_RED + "" + ChatColor.BOLD + "Owner " + player.getName());
else if (player.hasPermission("tablist.manager"))
player.setPlayerListName(ChatColor.DARK_RED + "Manager" + player.getName());
else if (player.hasPermission("tablist.dev"))
player.setPlayerListName(ChatColor.DARK_RED + "Dev" + player.getName());
else if (player.hasPermission("tablist.admin"))
player.setPlayerListName(ChatColor.DARK_RED + "Admin " + player.getName());
else if (player.hasPermission("tablist.mod"))
player.setPlayerListName(ChatColor.RED + "Mod " + player.getName());
else if (player.hasPermission("tablist.helper"))
player.setPlayerListName(ChatColor.RED + "Helper " + player.getName());
else if (player.hasPermission("tablist.mvp+"))
player.setPlayerListName(ChatColor.LIGHT_PURPLE + "MVP+ " + player.getName());
else if (player.hasPermission("tablist.mvp"))
player.setPlayerListName(ChatColor.YELLOW + "MVP " + player.getName());
else if (player.hasPermission("tablist.vip"))
player.setPlayerListName(ChatColor.AQUA + "VIP " + player.getName());
else if (player.hasPermission("tablist.premium"))
player.setPlayerListName(ChatColor.GREEN + "Premium " + player.getName());
else if (player.hasPermission("tablist.member"))
player.setPlayerListName(ChatColor.GRAY + "" + player.getName());
}```
displayname ?
oh lmao
rlly bad way to do it
not efficient
but it works
I found a new project I wanna start soon BTW ๐
I control panel for server owners, to manage staff that'll connect to their server, xenforo, mybb (orwateveritscalled), etc.
Also I wanna learn how to interact with Paypal, so owners can create their own shops
I'm still stuck on my server list though :/ I was having issues with the table & login system
o gg
You should join me with this project
Idk, I'm no bueno at php
You wanna code the server > website and website > server plugin?
oh
u think im good at java
I already have a plugin for it, but I don't think the developer knows much english
I shall call it "control panel" (I know, so original)
xD
knew it was somewhere
thats for bungee tho
I'm horrible at java so far, especially since my computer can hardly handle Java
o
well then
I'm already 95% done with this packet stuff so i might just stick with this more complex way xD
cuz yeah
This plugin I'm using for the control panel keeps throwing so many errors whenever I send a command...
if you're trying to do tab list stuff directly with packets, you might find this useful.
I wonder if it might be because I'm using PaperSpigot though ๐ค
I already have a native way for the playerlist names tho @twin warren
unless ur's can weight them?
So I can sort it?
it sorts them based on the team id
oh damn
the benefit of using those classes is that you can manipulate the teams async
I should be able to natively do that then? Without having to shade an api with extra stuff I dont need?
unlike bukkits scoreboard api
heh, just copy paste the classes
or take the methods you want
Im new to this java thing, so when u say that, what exactly do u mean
Hey luck, if the author doesn't specify "Do not decompile" do you think they'd mind if I decompile it? ๐ค ๐
I know what a class and a method is
even if they do specify you can't, there's not really anything from stopping you.
Oh, u mean go backwards in the file tree
and litterally copy the class
true ๐ cause they can't actually do much legally, especially over the internet with online anonyminity
yes, you don't need to shade the whole lib
and it's not that
terms of service aren't really legally binding unless you agree to them.
which at least online, usually means checking a tick box
This plugin only has 7 classes, and it sends commands through a php function to a server.. that's pretty cool, but I kinda don't trust it 100%
what's the point in that
I want to code a control panel for server owners using this
I've always wished there was one, especially so I could delete someones rank from one item, and have it automatically derank them everywhere else
i mean they propably dont have permission to use the computer texture from cc
yeah i really wouldn't trust that
It is 'secured' with a password on the plugin on the server, and through the php function, so I still wanna work on it, and maybe some day someone will make a better one that'd be more production-environment worthy
Luck, I cant figure out ur thing. I'ma just do what im doin xD
@gilded nova #google
Ikr
Also, I believe the commands that are sent aren't very hidden
He did add SHA-512 "encryption" but someone was saying how that wasn't really hiding the command
His plugin.yml bugs me so bad ๐ "author: MediaRise|CraftRise"
like cmon, use "authors: [One, Two]"
@twin warren so how are the teams weighted in tab? Higher number has priority or lower number? And how do I name the teams
higher has higher I believe
I already attempted google
I'm a scrub though so don't trust my word
I could make this much more streamlined..
I must go take a dump now tho.. brb
Okay
so if I name a team "1" then they will have a higher priority than team "0"?
Meaning they will be placed higher or lower on the tab list?
@naive elk
does he respond? XD
or just sometimes
sometimes
lol
Yay just got banned from a server ๐
Dude was using a downloaded server from somewhere like leakforums or something, and he tried saying it wasn't (even tho I've seen the spawn a million times) so I told him to prove he even know the basics of PEX, and he banned me XD
I really wanna make a HCF Factions server but I know nothing about them lmao
Are you running nucleus? Sorry took a shower lol
I'm not sure if LP has anything to do with the tab listing, that would be up to a different plugin. BUT, if you have a "Team 0" and a "Team 1", weights set as such as well, and "Team 1" inherits "Team 0" Then Team 1 will take over for any permission conflicts. Same concept for Prefix/Suffix.
When it comes to the Tablist or /list aspect of it though, that depends on a seperate plugin like TabListPlus and Nucleus/Essentials
Question...
Why shouldn't you run a Minecraft server on the root account?
same with the MySQL server, etc
That's what I'm working on right now
What security measurements would you suggest?
I've gotten Fail2Ban
I'm currently working on a Mini/HCF server
The reasons not to run minecraft (or other services) as root: 1) if something is compromised, the entire box will be at more risk 2) root is allowed unlimited resources, so it can allow a runaway process to make the box completely unresponsive.. many more but that's a good start.. just don't do it. Security measures: run each service as it's own user, use iptables to block everything and then allow only the ports needed for you (ssh) and users (25565), if needed web(80) or https(443). Fail2ban is a help, if it's installed correctly
note; out of the box, I don't believe fail2ban does much unless you start modifying the jail and actions files for what makes sense on your server
@tepid thorn ssh keys
Anyone here know db code pm me i need help paying a few bucks
"DB Code"
You can check on stackoverflow StackExchange.
Someone who know a plugin that runs a command when someone kills a another player.
3 kills
6 kill
9 kills and so on.
Also need a permission to the command to be executed.
? ๐
@soft sparrow https://www.spigotmc.org/resources/autorank.3239/
I don't know if it's just "rank" features, or if you can set "commands" only for the "ranks"
i will take a look ๐
WIth this plugin i can gain rank and execute a command when chanings rank
I dont want the ranks tho ๐
@soft sparrow I didn't know if you could disable the rank feature, and simply run commands only
@twin warren how exactly do I use that api you sent yesterday? Is there a Maven repo?
??
yeah
I've gotten a couple plugins for my server made, and I don't trust the developer
7 plugins done in 3 hours? Suuuuuuuuuuuuuuuure 'custom' mhmm
send em on over
xD
System.exit(0);
Nah ๐ They might be custom lmao
I'm opening them in JDGUI since I know a little java ๐
So far looks legit, but thankfully I have a backup plugin just-in-case
It's stolen code, he forgot to remove the hidden author name lmao
People from MCMarket are always untrustable
@twin warren How do your scoreboard classes help with a tab list? You sent me the scoreboard stuff last night
oh wait
cuz u can display the scoreboard
in a tab
right?
manipulating player nametags is done using the scoreboard
i sent you a method you can use
Ok
you should do that anyway
I know
My server is planning on a sudden increase in players so I was planning on optimizing it soon anyways
easiest way to do that is not use crappy plugins ๐
yup
which is kinda hard if you don't program yourself
Most of my resources are premium so they shouldnt have any memory leaks
Then I'm coding all my own stuff rn to get rid of like 10 plugins
premium absolutely does not equal good
I know
I thought the WorldBorder plugin 'trim' feature was suppose to delete all chunks outside the border... :/
But it shouldn't have any memory leaks
premium most the time just equals money hungry
Well.. lemme send u my plugins list, so u can tell me if any will fuck over my resource usage
eh, idk how you expect me to do that ๐
Plugins (71): PlaceholderAPI, Minetrends, DeluxeCommands, DeluxeJoin, PlugMan, ExplodeRebuild, SBPrisonCore, OldCombatMechanics, DeluxeTags, MegaPets, VoxelSniper, EditableSign, SimpleHealthBars, Coupons, TopLite, LuckPerms, WorldEdit, ClearLag, goBrush, Broadcast, BuycraftX, MessageAnnouncer, BannerBoard, Votifier, NoHopper, DeluxeMenus, FeatherBoard, goPaint, CustomCrates, mcMMO, ActionAnnouncer, Vault, GAListener, ProtocolSupport, PlayerParticles, VoteParty, WorldGuard, AuctionHouse, ASkyBlock, ViaVersion, CustomEnchantments, ShopGUIPlus, BlockVersion, MobStacker2, Essentials, Banknotes, Multiverse-Core, VoidSpawn, ProtocolLib, PlayerVaultsGUI, DeluxeChat, Citizens, ServerListPlus, AntiCombatLogging, MiniaturePets, ChestShop, CrazyEnvoy, NoFlyZone, CommandDoesNotExist, Holograms, CoinFlip, CitizensCMD, AAC, ChatItem, EssentialsSpawn, TitleManager, InventoryFull, BarGamble, AACAdditionPro, LiteBans, HologramsPlaceholders
if u see one
xD
idk
Oh bloody jeysus
You need to clean up your plugins lmao
get rid of luckperms
^
i hear that's super laggy
What use is 'CommandDoesNotExist'? I've never heard of that one
write my own perm plugin
@leaden ocean thats this:
Hide plugins
or any command
by vk
HideCommands:
- pl
- derp
Warn:
- "That command does not exist"
if the plugin were good, you would just deny the perm. Seems like a waste of resources to me
wow, not premium
I'll clean up my plugins now
now there's a surprise
then resend
Anyone know a plugin I can use to delete all chunks out of my worldborder, and stop them from being loaded?
Get ChatControl by Kangarko
Was planning on it
^ Even the free one does the job
It's an antiswear, antiadvertisement, and you can block commands, and messages from being sent in chat by plugins
I'm removing all plugins then making a new server soon anyways
so
I love how you can remove & change WorldGuard messages.
one of the most used plugins & you can't even change the messages like cmon XD
So can anyone suggest a plugin to delete chunks outside of the worldborder? >.<
trim did it for me?
I'm on 1.11.2 and I don't think it works
The server I use for spigot is 1.7 though xD
hmm, see if anyone has found anything similar with WB
WorldBorder / trim outside coordinates
because my corners are 8000 or so on the dot each axis
It does say supports 1.11, but my chunks will just not trim :/
Also, I was using
/wb world trim 5000 0
to leave no buffer (0)
that is just because it is generating in your render distance
I tried using it at spawn, still didn't work :/
I'll try rebooting while I'm at the spawn then trying
Do you know if there's any development/jenkin builds?
actually, look at the latest comment https://dev.bukkit.org/projects/worldborder
Oh yeah. Looks like a known issue then
I suppose it broke after 1.8 or something
Even my "level-type=FLAT" doesn't seem to work either ;-;
no clue why I found this while looking for a fix >->
https://hub.spigotmc.org/stash/projects/PLUGIN/repos/worldedit/browse/src/com/sk89q/worldedit/commands/ChunkCommands.java?at=e2c0670a81ad2660f40c82bb369bb5c8aea439b4&raw
Questions downgrading to 1.8 to remove them lol
nope didn't work
@leaden ocean do you use Spigot or PaperSpigot?
I use the cancer known as thermos xD
o.0
yea im trying normal spigot instead of PaperSpigot right now
"Out dated build, starting in 15 seconds" ffs -.-
RIP
nope WorldBorder is just completely broken...
so it isn't loading? Maybe you'll need to use an older build
@gilded nova you have to edit the level.dat to be a super flat world (be sure to set it to a void world) and then it should work as expected
o.0 I just used the server.properties
Doesn't matter though, it's just chunks outside my world border
@leaden ocean You are borked.
Does anyone know what happened to the NuVotifier discord?
I think it got deleted or something
ayy wassup
@true ether check out ProVotes, it's premium, but pretty nice
rip tux
There is a team for Github, so I don't know why he didn't just transfer the discord to someone else.
Looking for a plugin that opens a book "not give the book" for players with a command ๐ Im gonna run this command by clicking an npc ๐ Suggestions ? ๐
What platform?
@soft sparrow ^
It seems like anything I look at for spigot requires Citizens, which is a "premium" spigot resource.
Citizens2 dev builds are free
https://www.spigotmc.org/resources/citizens.13811/update?update=166637
Still has the buy button
Nevermind. Found it on jenkins
For sponge, there seems to be one current option
"NPCs": https://forums.spongepowered.org/t/npcs-v2-0-1-api-5-6-7-easiest-and-best-npc-plugin/18273/11
There is also Reveries( https://forums.spongepowered.org/t/reveries-an-npc-plugin/16351?source_topic_id=18273), but it's in perpetual "alpha" stage. NPCs is based on this concept.
I cant change models on a plugin level, so pixelmon models arent going to work. I will at one point add the options to spawn NPC entities from mods, but i still have to figure out a way to find wether EntityTypes are combatible with being NPC's (must be Living, etc). This however wont includes pixelmon, because i think the mod doesnt have seperate entities for each pokemon. Also, the chisel in pixelmon exists, so you dont really need it anyways.
Happy holidays! https://streamable.com/t7ag5 Source: https://github.com/windy1/Reveries
I do believe citizens was actually being ported. I'm not sure how far they've got with it
I couldn't find anything on sponge after a simple search.
@true ether i have citizens ๐
For Sponge?
I honestly didn't do a very through search. I was only after a "quick and dirty" results list.
huh ? ๐
Error: https://hastebin.com/ubupujicaq.sql
Code: https://hastebin.com/docugonado.swift
... anyone help me? I'm sorry I'm so new to this
Doesn't matter
the IChatBaseComponent or the headerPapi
"{\"text\":\"" + header + "\"}"
System.out.println
Just add a line before that IChatBaseComponent that prints the string
And then see why the JSON is malformed
if I put it before teh IChatbaseComponent it can't register top
so I'll do this CraftPlayer cplayer = (CraftPlayer) player; PlayerConnection connection = cplayer.getHandle().playerConnection; IChatBaseComponent top = IChatBaseComponent.ChatSerializer.a("{\"text\":\"" + header + "\"}"); System.out.println(top); PacketPlayOutPlayerListHeaderFooter packet = new PacketPlayOutPlayerListHeaderFooter();
Dude
Yes, I'm sorry, I'm bad at java
IChatBaseComponent top = IChatBaseComponent.ChatSerializer.a("{\"text\":\"" + header + "\"}");```
YEs
And I said because it was before I couldn't use the top constructor
So I did after, not understanding that u didnt want me to print out top you wanted me to print the same text
Yeah
login msg
json msg {"text":"ยบeยบlSuper ยบbยบlSkyblock ยบ7There are a total of ยบe1ยบ7 player(s) Online. "}
Encode your source code in UTF-8
And also escape the string
escape the string?
ยบ Nope it's not in UTF(
It is.. http://i.imgur.com/hUMfVUh.png
Ok
And also check your other sources
all are utf8
Strange
it's even set to utf-8 in maven
ok
As for escape strings.. I am escaping things?
Escape the string
There can't be literal linebreaks in there
That's a comment
dammit
oops
String footerNoPapi = "&eshop.sskyblock.com\n &ewww.sskyblock.com\n ";
String headerNoPapiEscaped = StringEscapeUtils.escapeJava(headerNoPapi);
String footerNoPapiEscaped = StringEscapeUtils.escapeJava(footerNoPapi);
String footerPapi = PlaceholderAPI.setPlaceholders(e.getPlayer(), footerNoPapiEscaped);
String headerPapi = PlaceholderAPI.setPlaceholders(e.getPlayer(), headerNoPapiEscaped);
setPlayerListHeader(player, headerPapi);
setPlayerListFooter(player, footerPapi);```
Like that?
Yeah
My bad. Use the escaped string in the setListHeader and setListFooter methods
did I not do that?
setPlayerListHeader(player, headerPapi);
should be setPlayerListHeader(player, headerNoPapiEscaped);
That's beyond my knowledge
Yeah no problem
Im sure it was frustrating xD
It's just that I personally would never recommend to learn java with minecraft
I took a java course my 9th grade year, which I just finished, it appearently was pretty shit
Even a beginner course won't bring you anywhere near you'd need to be in order to make something decent with Minecraft. We're talking about some serious coding or java experience
Like at least 1-2 years
I'm not saying you can't do it. But I personally would never recommend Minecraft for beginners
u right
I mean sure. it'll work eventually but I feel like the learning curve is waaay to steep
No offense btw
I mean, I taught myself html/php/css/JS in like.. a year
so Spigot API shouldnt be too hard
๐
Good luck
Thanks!
Fair question @gilded nova
Because idk how ๐
I am now tho
Someon else just yelled at me
so I am now
@gilded nova
LOL
Just get into the habit of keeping your code and classes organised. So you know exactly where everything is
I mean
everything was labled
@gilded nova so like-- when making an anticheat make sure to put Reach hacks inside a package called NoReach
Anyone want a free premade server? I'm bored & got no life, sooooo
You gotta know the basics of server owning, and If noone wants it/i get bored, ima just go work on website coding instead ;P
What type @drowsy quest ?
SF creative
But I can make it myself. Will be easier
But are you expecienced with BungeeTabListPlus?
wait what o.0 "SF Creative" what's SF, and also "I can make it myself" whaat? XD
I've used BTLP before
SF = SpongeForge
I have two servers right now
Both are configured to only show up when they're online
Now the third should only show up when somebody's online
I can't do forge, my computer doesn't support any mods
Sorry >.<
I have a 1.6Ghz --- 4GB Ram computer
As I said, It'll be simpler if I make the server myself since I'll just link all plugins etc and use my existing configs
There aren't really any mods there
If ya know anything about computers, you'd know that
"1.6Ghz Processor --- 4GB Ram computer"
is absolutely terrible ._.
I know
That's why I'm doing premade/setting up servers on SpigotMC for ~$5
Ah ok
Also to maybe even keep my own server alive XD
I'll give you 5$ if you can get the BungeeTabListPlus config right (The way I described it)
You want me to set one up for you? o.0
The config. I can give you the existing one
Sure ๐
kk, I'm creating development servers right now
Alright
Noticed this in my bungee server start up just now...
20:01:04 [INFO] [LP] Identified the following dependencies: [CAFFEINE]
I knew there was a reason I liked LP ๐
xD
@gilded nova what's a good way to get a players head for a GUI, and just getting a skin that never updates?
In the GUI or to open the GUI?
In the GUI
Creating a languages API (Don't know if I'm using API right) and I'm wanting to use skulls to represent the languages
Also, did skulls change from 1.8 through 1.12? When placed in a GUI, skulls are completely backwards...
Like MHF_QUESTION use to work in GUI's but now you only see the back of it...?
Im looking for a plugin that i can store books, and with a command example /book read BOOKID PLAYERID i open that book for the player without giviging it ๐
Suggestions
Just make a plugin for it @soft sparrow
Hypixel does something like that when advertising sales xd
@gilded nova idk, im not that in depth in java or the spigot api, theres a website that I cant remember rn that lets u grab a players head. Im sure theres a java api
And for non-players heads u can use headdb.com
I think its headdb.com
http://minecraftplayerheadsdatabase.weebly.com/
http://heads.freshcoal.com/heads.php
https://minecraftcommand.science/head-generator
If you need things like generators, ask me. I have links. ๐
someone who can compile a plugin for me ? ^^
I can never get the freshcoal heads to work
@soft sparrow ???
@drowsy quest asyncworldedit xD
I'm not gonna crack a plugin for you
crack?
its the developer who says that we can do it till he gets the real one up:D
its not the premiumone
.. where lol ๐
Btw
I'd recommend fastasyncworldedit
Waaaaaay faster xD
Here ๐
Or just use async and change the config to go faster
Or get a badass dedi and just do a few hundred mill blocks with no issue
fastasyncworldedit works different than asyncworldedit. That's why it is faster
im just buildning my server with 1gb ram before i tranfer it to the dedi one )
O
๐
Waaaaaaay better. And free
Just use that
It outperforms awe by orders of magnitude
yeah
the dev is clearly a very clever guy
it has a really neat API as well if you ever need to do large block editing programatically
A quick question on the side: If I wrote a plugin that allowed for PlaceholderAPI palceholders to become contexts (you can configure which ones you want) would you post a link to it on LuckPerms?
I just went to check whether luck touched it XD Not used to seeing a dev compliment other code
I might be able to get clip to put it on papi's page @drowsy quest
ok @drowsy quest i will try it ๐
Ok ^^
just bear in mind the calculators are sometimes called asynchronously
Wym contexts for papi? Brain
I'll make sure it'll work properly. And of course I'll be responsible for support
so not sure if that'll work with placeholderapi
let's say PAPI provides a placeholder %player_level%
Mhm
If you configure the plugin to use that as a context then the context papi_player_level will be created
And when requested the value will be calculated
Was gonna look for that too. Thanks Luck
U coulda just said context of when its used
Woulda got that
But thx for the quick read luck ๐
I think all contexts are calculated when perms are checked
correct
But in any case with lp user <user> info all contexts are dumped. Which would make the most gigantic mess ever
(And be slow AF)
wut
Question on perms, when im using CommandExcutor do I have to check for if(hasPermission(); or do i just put the perm into the plugin.yml
@gilded nova you can do either
Ok
If I were to turn all placeholders into contexts that would be unreadable
oh right yeah
I'll do in plugin.yml so its less messy
and it's not possible anyway
Yeah
since placeholders aren't registered
That too
I'll try to get this plugin for all 3 platforms
If I succeed, will you link me?
That would be awesome
If it actually works then clip might link it tbh
Cool
I'll ask
you can't really hack around it lol
Can you give example when perms are checked async?
You're welcome
well, any plugin can check async
now i feel bad for not bying the other async ๐
No need to ๐
I wish the setting that disables default bukkit permissions stopped all permissions plugins give players by default ;-;
I'll PM you this then, so noone else abuses it ๐
@soft sparrow I've been working on trying to learn development, want me to try to create the plugin for you?
@soft sparrow I'll attempt too
Prolly wont be able to
But I'll try
lol
Wdym by opens a book for other players
If someone else is going to do it, then I won't ๐
First i make a book, with text and all. then i save it.
I make as many book as i need, and all books get an ID
@gilded nova /story open <book>, /story open <book> <player>
Players can /story <save> <title>
O ok, thats easy enough
Ah
also maybe a /story <title> delete
Idk how ima store the books but i might learn some sql for it or something
yeah. also /story add - adding the book im holding
I'll grab itemmeta or something
We'll see, if I get stumped I'll let indie do it
@soft sparrow that's what I said :P
/story save/delete <title>
If you get stumped, send me your code so far lmao
ah i dit miss save ๐
Yeah i will indie
Pls tell me u use intellij
Infie
Indie*
no, my computer can't handle it
Eclipse isnt as good
I have a 1.6 GHz processor, and 4GB's of ram
I dont hate on eclipse but its simply not as good
Eclipse crashed while I was asleep >->
someone buy me a new computer ๐
Intellij can learn your coding style with intellisense (form of machine learning) and help u with ur code over time
Can eclipse do that?
What do u use to code php indie?
Sublime Text
I was just joking. Calm down
I use phpstorm and brackets(by adobe)
I just don't want to learn another IDE
@drowsy quest you are the one who started this! now there is no way to stop it. Just let it pass ๐
Learning phpstorm rn, mostly used to brackets and dreamweaver
๐
My brother (a computer technician) opened my computer to look into installing a NVIDVA (or however you spell it) video card into it, turns out my computer is almost 100% un-upgradeable, aside from the ram slot, but this computer can only have a max is 6gb's of ram
On a 1.6Ghz processor though, more ram doesn't do crap ๐
top notch
U should just but a new pc
Like
Honestly
Have ur brother build u one
I have to way to get cash right now
U can build a decent rig for $300-400
I wanted to learn to code & make money that way, but hard when you lag 24/7 >->
Does ur family own a power washer?
no?
Hmm.. lawn mower?
nope
poor family ๐
How do u cut ur grass then
other people in the apartment complex do
Oh
Hm..
#RichLyfe
Do yall own a mop, broom, and a vacuum?
#RichyRichLyfe* Someone ha;s to understand that lol
yea lol
Then go door to door of ur apartment complex asking if they need their apartment cleaned for $20 an apartment
Ez shit
Theres always a way to get $$
My neighborhood as a lot of druggies and pedophiles
20 bucks is 20 bucks bro
The pedophiles would pay nice for my sister ๐ค lmao jk jk
How old r u?
19
Then what pedo is gonna want u
I'm hawt lol jk
As for druggies, dont go to their house
I'll steal their drugs and sell them ๐ค lmao
Or since ur 19, go find a job at a fast food restaurant
Dont say theres no way to make $$
Theres always a way
I'm working with my dad once there's a need for more people
Oh
Then go do that
Lol
$200/Day for me when I work with him
Anyone ever hear of MOTDgd?
Work two days, bam new pc right there
@gilded nova know what adsense is? ๐
by google
Yes
MOTDgd is like the AdSense of gaming, I once abused their systems and made off witht $400 ๐
AutoRefresh, and after 12 days of abusing it, they added an anti bot feature ๐
Coulda got a new pc
My mom borrowed $200 and I spent $100 on christmas gifts for my friends ๐
She's still paying me back, and that was almost 2 years ago
Then work 2-3 days with ur dad then buy a new pc
Like
I will, but I have to wait until they let people join
"No way to make cash"
"I have a job"