#help-archived
1 messages · Page 77 of 1
It doesnt matter if it saves because youre deleting it right?
since you will be deleting the world to reset it, makes no sense to have the server save changes, therefore disable auto-save to save on some performance.
Yes
yes
can I get a bungeecord server's consolesender from bungeecord plugin?
I want to dispatch command to a specify server. can I do it without using pluginmessaging?
Yea
so that it does not save to the region files
Well youre deleting the region files
yes?
So youre disabling autosave for the wrong purpose
But you should disable it anyway
Because remember this world is a copy
Not the master world
yes but after i disable the autosave
all the chunk changes are saved in memory?
yes
They are saved in memory but thats why you unload it
then after the game ends
So they are no longer in memory
i unload the world
and the create the world
why if it has not been changed
but why if the chunks have not been changed in the file
The chunks will be saved
the files are UNCHANGED
ok let me listen from your point of view
what do i do when i load the arena
i copy the arena to a different folder
ok so when the arena is loaded
Ye
i copy
ok what do i use to do that
Wdym
how do i copy the world
ok
i copy the whole world folder to a different folder
lets call it
arena_original
yes?
so
I mean you'd need to create a new directory then clone the files to the new dir?
pretty sure
You are copying the arena directory to wherever your server is
So you can teleport players to that world
ah so
i make a copy of my saved arenas in maps/
as i am loading the arenas to be palyable
and then i copy the master world to a place where the server can read it
load it
game ends
delete it
right?
yeah
@hollow thorn could you delete ur message and use https://pastebin.com/ ?
Yes your steps sound logical
maps stores
Just make sure to unload it
ok that is a way
i had another idea
where i dont need to copy any worlds anywhere
or even create anything else
when u wrote a good pseudo code and now poop
just memory and the world
what does the glitch looks like @hollow thorn ?
@frigid ember you dont want to just unload the world without saving then load it again
It can be unreliable
thanks
@wanton delta because it may get corrupted?
what does the glitch looks like @hollow thorn ?
@timber barn if i run into lava i set on fire and get tped one block above the lava
I'm making a Shop Menu, but the Buy Menu isn't working (i.e. I can pick up items and neither price nor item amount are altered)
https://paste.md-5.net/ekitaxatum.java the buy menu is at Line 122.
@hollow thorn I would gess its because of line 10 and 11
you teleport yourself 1 block above lava
¯_(ツ)_/¯
but then i dont fall down again
ok, what do you mean by being 1 block above lava? Like it works as intended or with 1 free block between you and lava?
I'm making a Shop Menu, but the Buy Menu isn't working (i.e. I can pick up items and neither price nor item amount are altered)
https://paste.md-5.net/ekitaxatum.java the buy menu is at Line 122.
lines 23-49 make my eyes hurt a bit :(
XSD
Only 23-49?
Btw, instead of hardcoding each individual item I'd recommend using a yml file. Much easier and quicker to manage 🙂
How would I go about that?
Make an ItemBuilder and use arrays
I'm using ItemBuilders
Arrays in the config.
Why should he use a config?
I'm so confused
i find them easier to manage
this isn't what I'm looking for
you dont have to but its just a suggestion down the line
First of all why BukkitRunnable
BukkitScheduler#runTaskLater(Consumer<BukkitTask>)
Why comparing titles?
Why not?
LOOK
I'm not worried about that for the moment
if you aren't willing to help with what I'm ACTUALLY requiring help with
then I mean
Are you sure your code is reaching e.setCancelled
Yeah e.setCancelled doesnt work?
I don't need to be berated for my mishaps
which line
there is no setCancelled at 224?
update ur bin then
its fine
Is it throwing an error?
Are you sure its reaching that point?
nvm
Have you debugged it?
mhm
I can't with myself today
if (e.getClickedInventory().getTitle().equalsIgnoreCase(ChatColor.YELLOW + "Buy Menu"))
{
Maybe this never goes through
No
where is NPE thrown?
how do i get the SPEED of a player
mb null check e.getClickedInventory ?
(as in m/s (blocks per second))
iirc its nullable
Conclure can you remind me how to do that XDDD
I'm so sorry lol
I'm just so ture
tire
tired
if (e.getClickedInventory() != null)
if(something== null)
ah
Hence
rtehjiaos
Null check
depends if he is nesting or not
how do i get the SPEED of a player
in blocks per sec?
have a timer that the player distance can rely on
Or I mean you wanna test the block / sec?
Velocity is only for when the player is in the air
I've added && e.getClickedInventory() != null in the if statements checking the clicked inventory
You need a distance and a time
still doesnt work
still NPE?
What you do is schedule a repeating task every tick and save the previous location, get the distance of the new location between the old one, then divide by 0.05
is line 153 reached?
the menu is operned
Class#method
yes
Its just how you document things
o ok
its how it works in the javadocs, thats why ppl use it
ok
not because "thats just how it is", lol
I mean typing the entire event class name is kind of long
and we know what he meands
It is just how it is tho
i can pick things up from the inventory
So what does rhat tell you
You need more debug messages
ok
For each operation do the debug message
i wasn't spamming lol
In that way we can easier find where it goes wrong
Yea, usually for each comparison
^
Every time you do a switch or if/else
ok
And make the message different every time so you know which message it is lol
So
I htink i know where i'm at
so
i dont think my event is recognising my buy menu
idk why
but i dont think it is
because It seems like I have a debug msg there already
I dont see one
or i mean
smth along the lines of that
player.sendMessage(ChatColor.stripColor(e.getCurrentItem().getItemMeta().getDisplayName()));
line 155
i think
So what does rhat tell you
The title of the inventory doesnt match the title of the event inventory
So you should switch to a different method of detecting if a player is in the inventory
You just said it doesnt?
but you put the check for buy menu inside of the blocks level 1 menu?
Or thats what the event is saying
Put more debug messages
Eevey time you compare something in an if/else
Youre being very reluctant to actual debug stuff
Do you know what is going wrong?
So what is wrong?
mhm
Add the players to a hashmap or arraylist or smth
And remove them when they exit the inventory
You should just not compare the titles of the inventories
if you dont try to check if they're in a different menu from a different menu
You could use InventoryHolder but it's not a good practice
We all do ;0
idk if this can help
Outdated but you get the hint
dont giv up
:/
Nononono
Dont do that
Because inventories are two seperate instances
You cant compare them
i7 7700K or Ryzen 5 3600x for OVH?
You need to keep track of the players in your inventory
Whenever they open your inventory add them to a list or whatever
SetCancelled isnt working because your code isnt getting to that point
-.-
Your if/else statement returns false
So the event isnt cancelled
No
Print to the console what the event’s inventory title is
Because right now its saying it doesnt equal the same thing
You should be debugging
but????? can't it just be the fact
that you're checking for a different clicked inventory inside the original inventory
What
stop spamming
LMAOO he just got banned i think
this is diot
no
sorry
i just got excited
Deleted all of his messages lol
You should stop saying “so”
i just found out that it thinks i'm inside my blocks menu
sorry its a habit
this automod is too efficient
can't they switch to smth shite like mee6
XDD
what kind of dumdum is going on in here
i have no clue
:thocc:
This man is practically braindead and doesn’t wanna take a break
2 spigot pros trying to tell a very tired noob how to use his brain
literally
i have 1 braincell
it thinks i'm in my first menu
Yes
its early
Oh
oh?!?!?
Are you from hawaii or smth
no xd
r/woooosh
it was rheotreifsocol
noit roi asmd ehdi
oops
not to answer
anyway
how do i get it to not think that i'm in blocks
o.O
?
Edit this to change the output of the command!
readUTF() throws EOFException
com.google.common.io.ByteArrayDataInput
jeez guess the config api offers is that bad?
on my bungee cord server without any extra perms plugin how to I set a group
the group is offered by a permision plugin
unless you want to handle them yourself
I have luckperms for my servers but i mean on the bungee cord server for bungee plugins how do I set groups with the default permissions
Yeah, but in that same 5 seconds, someone else will google it for me /s
lol he still hasn't done it?
It takes literally 30min do setup a LuckPerms on BungeeCord
@sturdy oar I set up luckperms on bungee cord a while ago im not talking about server perms i was talking about bungee perms
You mean permissions related to access of bungee related commands?
yeah
/lp user Conclure perm set perm.node true server=bungee [Fallback]
/lpb user Conclure perm set perm.node true [Proxy]
iirc
lpb is for bungee
lpb can still be used to set fallback server perms
@naive goblet where is that nerd picture,i lost it Kappa
Good you lost it 🤡
https://cdn.discordapp.com/attachments/556575822350254080/710192765811818547/unknown.png hello I'm having an error that this image is appearing I believe it is something with the door more I don't know what it can be can someone help me?
Alr having a server instance running?
I'm using the plugin "Holograms" by SainttX to manage envoys on my server. I want to use holograms to make player specific leaderboards but I don't think this plugin has that feature. I think it'd be a bit difficult to swap the envoys to holographic displays, but I really want these other holograms to work.
Note: The player holograms and envoy holograms aren't linked.
Should I install holographic displays on my server and keep the other hologram plugin so I can use holographic displays to manage the non-envoy holograms or is there a smarter solution?
he tried to use the default port and the error
yes but the api didn't have what i needed
although if i absolutely needed to i could probably figure out some workarounds with my code
it was the removal method of the holograms
hologram.delete hm?
no i did that
im saying it would sometimes delete different holograms
i could probably revisit my code and see if i can manage it
it depends on how you store them though
havent had any problems with deleting certain holograms
that was probably my issue
yeah i need to fully rewrite alot of plugins
from along time ago
it burns my eyes seeing what i wrote thee
same here
even stuff from a few weeks/months ago
and before i started documenting my plugins and stuff
just an absolute mess
yeah now that i switched to intellij and it auto completes
That's kind of redundant but yeah
i finally name my methods the right name😂
fair enough
not sure if you call that documentation but it works
You have the effort
just helps me remember what parameters i need
boy thats bit too much for me
i usually just type some random //This does this shit
/**
* void method called pro
*/
void pro() {
}```
// Uh... Did I do that?
Time: 13/05/20 14:21
Description: Exception in server tick loop
java.lang.IllegalArgumentException: port out of range:71015
at java.net.InetSocketAddress.checkPort(Unknown Source)
at java.net.InetSocketAddress.<init>(Unknown Source)
at io.netty.bootstrap.AbstractBootstrap.localAddress(AbstractBootstrap.java:163)
at net.minecraft.server.v1_15_R1.ServerConnection.a(ServerConnection.java:80)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:193)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.15.2
Minecraft Version ID: 1.15.2
Operating System: Windows 10 (x86) version 10.0
Java Version: 1.8.0_241, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 750350448 bytes (715 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
CPUs: 4
JVM Flags: 2 total; -Xmx1024M -Xms1024M
CraftBukkit Information:
Running: CraftBukkit version git-Spigot-800b93f-8160e29 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT) false
Plugins: {}
Warnings: DEFAULT
Reload Count: 0```this and the crash report that gave when i tried to put in a random port...
lmao thats also a decent method
ahh yes paper
oo wait its spigot
port out of range? damn
change port to something lower
or appropiate to the default 25565
Description: Exception in server tick loop
java.lang.IllegalArgumentException: port out of range:71015
at java.net.InetSocketAddress.checkPort(Unknown Source)
at java.net.InetSocketAddress.<init>(Unknown Source)
at io.netty.bootstrap.AbstractBootstrap.localAddress(AbstractBootstrap.java:163)
at net.minecraft.server.v1_15_R1.ServerConnection.a(ServerConnection.java:80)
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:193)
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784)
at java.lang.Thread.run(Unknown Source)
okay css looks cool
no
ok
well you can't have port 71015?
it only goes up to like 60000 or smtng iirc?
or am I dumb now?
Are you going to run
https://cdn.discordapp.com/attachments/556575822350254080/710196230936068217/unknown.pngit wasn't and it appeared on the console
but now from what I understand you haven't found the port
is it your plugin? @deep olive
I'll get the name wait ae
can you see this image?
i will try to take out worldguard i think and he
wtf I entered a website to get my ip and by the way my ip keeps changing
that's because ports are 16bit numbers
and since port 0 exists
the greater is 65535
bro I put the default port and still not going
can u post the new crash report here?
[14:35:43] [Server thread/INFO]: Loading properties
[14:35:45] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-800b93f-8160e29 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
[14:35:45] [Server thread/INFO]: Debug logging is disabled
[14:35:45] [Server thread/INFO]: Server Ping Player Sample Count: 12
[14:35:45] [Server thread/INFO]: Using 4 threads for Netty based IO
[14:35:45] [Server thread/INFO]: Default game type: SURVIVAL
[14:35:45] [Server thread/INFO]: Generating keypair
[14:35:45] [Server thread/INFO]: Starting Minecraft server on myip:25565
[14:35:45] [Server thread/INFO]: Using default channel type
[14:35:47] [Server thread/WARN]: **** FAILED TO BIND TO PORT!
[14:35:47] [Server thread/WARN]: The exception was: java.net.BindException: Cannot assign requested address: bind
[14:35:47] [Server thread/WARN]: Perhaps a server is already running on that port?
[14:35:47] [Server thread/INFO]: Stopping server
[14:35:47] [Server thread/INFO]: Saving players
[14:35:47] [Server thread/INFO]: Saving worlds```
failed to bind to port
a server or java application is already running on 25565
close all ur java applications
if u are running linux kill the java process
Are you already running a server?
yeah close all process that are binding that port
Are you using Screen under Linux? @deep olive
no
ok, Linux at all?
I never understood how you added the coloring to discord code blocks
do you put like the language after the ```<-
@deep olive , use a open port checker on your IP with the given port
if it say's it's open, some other service is already using that port
```java
Your code
```
not needed, it should work after killing all java processes
ah
now that i saw it has no open port
thanks @wanton delta
hi all i dont suppose there is a way to get the mojang auth lib using maven is there?
Anyone know how to secure a bungee network
Someone just logged on on my account, but I can't replicate what he did to get on lol
by the soundsof things ur allowing unpaid users to access the network. which then means a person can create an miencraft account with the name of ur account and logged in to ur network. correct me if thats what but thats what i have herd can be done
By either local host or a firewall
He used another bungee
wdym
he setup his own bungee pointing to my server or something?
in which account?
@tiny dagger even if he used another bungee that wouldnt explain why he could access via his accounnt.
Your Minecraft account? @dusty topaz
Well but your bungee is in online? Doesnt it?
It sounds like someone has used a offline account to access ur offlinemode servers.
using the same username as ur own
A player isnt supposed to get directly on a server without passing bungeecord
@dusty topaz
yes, but i just hopped on an offline account and tried to join every one
You may failed ur settings then
and couldn't get on, so its not that
do you use subdomains?
no, i have a domain that isn't proxied through cloudflare
would someone donate to my server?
....
c: ?
¯_(ツ)_/¯
@pure canopy To get dontions on your server you might find you have to entice players to want to donate. I recommend checking out some of the plugins on the forums which might add more motive for players to donate. such as pets hats cosmetics etc.
v: then nobody would donate to my server?
Ensure ur purchasable in game stuff meets the eula requirements tho.
Lol going around asking for peolpe to ddonate isnt gonna help believe it or not
^^
Im just gonna start shaming you for being desperate
Should probably be careful in doing such things because there is a fine line between donating and purchases lol. Generally if you have to donate in order to obtain something, that you otherwise can't obtain by normal means, is a purchase and not a donation XD
maybe actually get a solid server and some players and it will all happen xD
^^^
I can donate -200€
:l
Minecraft servers are a quick get rich scheme
Sure, how about 100 bucks. Just send me ur bank credentials and online banking login
or a quick money sink
:l
then no ?
c;
stop asking before i get toxic
Alot of minecraft servers take alot of time and effort to develop a good experiance for players. its no get rich quick scheme
unfortunately, I can not make donations this month. Maybe next month 😉
Give me a reason to donate dont just be a sell out and ask
And that too
Im not going to be happy with those who expect handouts just because your mom and dad give you whatever doesn't mean thats how it works stop asking for dono's when nobody wants to
Give me a reason to donate dont just be a sell out and ask
@hallow surge I can not configure more with the memory they give me, since my server is free
Using free hosting thats just stupid
You can't afford hosting?
why do you think I ask for a donation silly
-.-
give me all of your money
Is your server any good?
servers are an investment, if you can't afford to get a shared hosting/ dedi you should wait to have money
the more money you invest into your server, the more chance it'll be a great one
Well, I'll keep waiting for the queue and trying to add more plugins
...
if invested for the right things
you simply don't "add" plugins to make it better to be honest
@pure canopy you using aternos xD
sure, doesn't mean they can't have potential. I once hosted a server for a 12 year old, and surprisingly they were able to pay me though lmao
@keen compass you mean his dad paid you
server.pro gud i used it once
:;c
everything not OVH/Hetzner/DigitalOcean is bad
bought 5 dollar subscription
@keen compass nice
hii
@sturdy oar no, they got an allowance, so I guess in a way you would be technically correct. But their network did well for a bit of time
zPotato if all your gonna do is ask for donos get out rn
xD thats not how that works
:;l
@sturdy oar Webtropia also has good servers
good. Thanks, I still didn't lose anything when trying
used it for 4 years
when is 1.16 spigot coming out
is 1.16 out?
2 months
no
When you decide to go make the updates @random canopy
does anyone have a alt account? I need a second account for testing a plugin
just use offline mode and another client
lul
offline mode has been exactly made for server testing
one of the only legitimate uses of it
Well technically no
it was made for servers with no access to the internet
however it doubles for making testing easier
if you downloaded the server
LAN Partys @sturdy oar
^
offline mode gud
Or maybe someone just wants a server at home, but not accessible from the outside
But its 2020... no more classic lan partys :(
@timber barn I'm waiting for the damn tail
u can use hamachi
:;l
Anyways in those circumstances without offline mode you wouldn't be able to join since the server would keep trying to authenticate
XD
for lan parties over the internet
:D
@timber barn I'm waiting for the damn tail
:l
:v
@timber barn sprechen sie deutsch? xd

tu ingles no es bueno pero no hablas español :V ?
Why are the forums still down 😭
que tipo de estaunidence eres v:
Ok, it's fine
well you could probably refer to conversation of last night/earlier this morning @coarse shoal
😄 @timber barn
@timber barn so ... why do you want the ip if it is off, and is queued from server.pro
@keen compass Scrolling through these chats? 
I didnt know if its off or not
its in #general @coarse shoal
:l
need to know what to search for though
However, if you know anything about how the internet works, you can give it some thought and come to a sound conclusion of what that might be 😉
if i install the cracked launcher(mc-launcher.com) does this delete files on my "normal" Minecraft Launcher
I really have no clue
*folder not launcher sry
Generally if I need to test with more players, I just make a plugin to create them
and have them fake players do things that I want to test
ok
Show off @keen compass
usually easier and better that way since you can load up as many fake players as you want without needing to launch a bunch of clients 😛
also, fake players can run commands too if you tell them to do commands XD
Show off @keen compass
@timber barn :P
if you do go that route, just know that it is easier to make fake players if the server is in offline mode, then it is if the server is online mode.
evening, I heard FakePlayers
how to get players 2020 😮
I suppose you could attach AI to them fake players XD
no wonder factions servers are popular, the players are not real. What a plot twist 👀
that would just be terrible if that was actually implemented. Players purchasing kits just so they can be better then bots XD
I did this, but never published it, for obvious reasons
big brain
point out the reasons for me please @vale slate
How to compete with hypixel 🧠
the downside is if you constantly have more bots then legitimate players XD
your bots are not exactly going to be making purchases
implement it
however, I know how I would implement chat though
Although I think they are incredibly obvious:
- There are a**holes (Sorry but there is no other name for them) on this planet, which would use this plugin for purposes I don't want it to be used to, like advertising a server with lots of players
- It would be against the TaC
- It was a fun project
I would just use Chester bot for chat 😄
hey frost, any idea how someone is getting onto my network on my account
only ports that seem to be open are ssh, http, https, sql, http-proxy and then the 4 server ports
wait
did a full range 1-66k scan
why 4 server ports?
4 servers
@dusty topaz
on the bungee
you just need 1
what do you mean on your network on your account? What kind of network and what kind of an account?
the bungee
Somebody managed to connect onto one of my bungee servers on an offline mode version of my account
the other 3 gets directed intern
I'm trying to replicate and then will patch it, but I'm unsure how
no need to open them
is your bungee in offline mode?
you'll need 2 per server
you just need 1
@timber barn @dusty topaz this is ur solution
i don't need 100 pings
:D
i am reading every message
still need 2 open ports
uhh, the server is online mode
why @vale slate
TCP UDP
I'm thinking it's to do with how I have my servers listed
ie
servers:
hub:
motd: '&bHub Server'
address: 37.187.76.139:25547
restricted: false
Should that be 127.0.0.1:25547
or wouldn't that change anything - i've never setup bungee before
but now, having seen someone give themselves all permissions, i am in a rush to learn 😅
https://prnt.sc/sg8qo2
This is how ur network should looks like. If you open the ports to your other 3 servers then they can get accessed without passing bungee
shouldn't restricted be set to true? o.O
I guess
Bungeecord config docs doesn't comment on that setting
so I can't remember what it does
XD
Note: restricted prevents players from joining the server unless they have the bungeecord.server.[servername] permission
from a quick google
However, closing these 3 ports does not mean that they cant get listened to internally. Your bungeecord would still be able to direct to these 3 ports
are your servers all on the same machine ?
shit english intensifies
yep
then set your mc servers to listen on the loop back address
use the loop back address as your servers addresses in the bungee config
loop back address is 127.0.0.1 if you didn't know
once that is done, direct connections to the MC servers is impossible
since the MC servers are not listening on a public interface
only bungee should be

so i should close those ports and use loopback
don't need to mess with the firewall
just change the ip the mc servers listen on to 127.0.0.1 and then update the bungee config
the problem is they are directly connecting and if they do that they bypass bungee, which bungee takes care of authentication and direct connecting to a server is the same as being on a network in offline mode
yeah, but i can't replicate it
so i should close those ports and use loopback
@dusty topaz yeees
using whatever client, the furthest I got was logging on with a username with a different UUID
(and that required turning off the whitelist!)
Either way, just change the ip the mc servers listen on and it solves your problems and you don't have to worry about closing any ports
can't access 127.0.0.1 from the outside so no ports to close or open
Do you use linux @dusty topaz ?
yeah, but it's intriguing none the less
but thank you for the help, i'll change it now
Ubuntu?
how they did it, is most likely a result of incorrect iptables
and not a configuration on the MC server stuff
i haven't done any iptable configuration
and with ufw?
ufw uses iptables
so many ppl start over to set up a server without knowing how to set one up properly, so you need to ask these questions
but how on earth could he have done it
I just told you
i can't replicate it though
Well without seeing your iptables I can't really tell you. But I have a good idea though
37.187.76.139:25547 is the ip?
please don't try and connect 😅
:D
this isn't home hosted is it?
Anyone know how hard it is to make custom bosses with custom models?
no, it's on a dedicated server
ok, so how they managed to do it, is by being in the same network as your dedicated server
Oh you use Pterodactyl?
you might have blocked the public, but did you also include inside your network too? lol
Nice piece of webinterface
i'm unsure what you mean frost
if you have a dedicated server in a data center, there is other dedicated servers next to your box, which are inside the same network as your dedicated box
I doubt that is how they entered though
I think its seperated frost
think of it like your home network
all your computers in the home network can connect to each other as long as they know where they are at
but for the most part the public can't though because of the firewall/router. However, when you create firewall rules, they are generally aimed at connections from outside that network
but not ones that originate from inside it
so unless you create specific rules for that, it is a way to access a server in ways that shouldn't be allowed
did u managed to secure the server now Avro?
i'm trying to exploit them myslef first
Private Ip Address Lan
Well should problem dump your iptables list
Private Ip Address Lan usually means originating from same network as your box
I dont think its his servers config but spigot/bungee configs
no its not
that is private ip space
meaning its literally from inside the same data center on the same network box as your dedicated box
its the only way to use that ip address to connect to your server
So it was as I stated then 😉
Because you can get a private ip from the router
it just won't route you outside of the network
you can even set it manually too
your dedicated box can have multiple ip's fyi
So, like I said, you didn't factor connections originating from inside the network
so your firewall rules didn't apply because it wasn't told to
so how would i configure for that scenario
block the private ip address spaces
block the entire range for them. There is 3 kinds
172.16.0.0, 192.168.0.0, and 10.0.0.0
you can block entire ranges with iptables
so for each of them, I would block the entire private ip spaces for all three of those
think that should be /24
let me double check
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
done
any other ip table configurations needed? or am i all secure now
with the localhost changes + these ip tables
should be good now
awesome
good thing I know networking 😄
why'd you think i singled you out?
i fall asleep every time they cover it
you are talented
Am I allowed to sell an minecraft full Server like KnockIT on SpigotMC?
I am surprised someone decided to get a server in your dedicated boxes data center
just to do that
it is rare form of attack and not one commonly thought about hence why you don't really see much covered on that form of vector
Am I allowed to sell an minecraft full Server like KnockIT on SpigotMC??
do note @dusty topaz since you used the iptables command, if your dedicated box reboots those additions will be lost
so probably would be wise to use UFW which makes sure to re-apply iptable rules
or make a bash script to run at reboot's to re-apply them or do it manually lol
will use ufw
didn't know, thanks for the headsup
how would i do it with ufw though? never used it before
sudo ufw enable
sudo ufw deny from 10.0.0.0/8
sudo ufw deny from 172.16.0.0/12
sudo ufw deny from 192.168.0.0/16
sudo ufw status
status will let you see the the iptables entries to ensure they applied
and then just add any other rules you had
but with that and your mc servers listening on localhost you should be good though
hmm, it seems that after doing all this i can't connect to my server anymore lol
Hello, I have my world slowly destroying itself 😩
[22:13:54] [Server thread/ERROR]: Chunk file at [-17, -12] is in the wrong location; relocating. (Expected [-17, -12], got [-17, -11]) [22:13:54] [Server thread/ERROR]: Chunk file at [-16, -12] is in the wrong location; relocating. (Expected [-16, -12], got [-16, -11]) [22:13:54] [Server thread/ERROR]: Chunk file at [-15, -12] is in the wrong location; relocating. (Expected [-15, -12], got [-15, -11]) [22:13:54] [Server thread/ERROR]: Chunk file at [-18, -12] is in the wrong location; relocating. (Expected [-18, -12], got [-18, -10]) [22:13:54] [Server thread/ERROR]: Chunk file at [-19, -12] is in the wrong location; relocating. (Expected [-19, -12], got [-19, -10]) [22:13:54] [Server thread/ERROR]: Chunk file at [-21, -12] is in the wrong location; relocating. (Expected [-21, -12], got [-21, -11]) [22:13:54] [Server thread/ERROR]: Chunk file at [-20, -12] is in the wrong location; relocating. (Expected [-20, -12], got [-20, -11]) [22:13:54] [Server thread/ERROR]: Chunk file at [-14, -12] is in the wrong location; relocating. (Expected [-14, -12], got [-14, -11]) [22:13:54] [Server thread/ERROR]: Chunk file at [-13, -12] is in the wrong location; relocating. (Expected [-13, -12], got [-13, -11])
I tested a plugin (tikijukebox) and installed it. After a few hours we see chunks just randomly changing position. Logs just spam that crap all the time.
did you allow your ssh ports @dusty topaz ?
allow connections to 25565
I can ping the serverlist
I just get stuck on logging in
20:21:46 [INFO] [AvroVulcan] disconnected with: Could not connect to a default or fallback server, please try again later: io.netty.channel.ConnectTimeoutException
did you update your bungee configs?
need to put that loop back ip as the ip for your mc servers
all the ports can stay the same for your mc servers, just change their ips in bungee config to be 127.0.0.1. Your bungee servers ip is your dedicated boxes IP or 0.0.0.0 which ever you prefer
bungeecords config file
yeah i've changed those
ok now update your mc servers server.properties file
and change the ip they listen on as 127.0.0.1
restart them and your bungee and they should be back to normal again
for some reason bungee keeps overwriting the config,yml
I change it to 127.0.0.1, and it changes it to some random IP - no matter what I do
i think it's changing it automatically to the ip associated to the box?
I'm trying to use https://github.com/Phoenix616/InventoryGui to make a shop gui, but it throws a NoClassDefFoundError on load.
https://paste.md-5.net/becaloyuzu.java is my code
shade it in
?
Edit this to change the output of the command!
@dusty topaz should edit the config while it is offline, but not sure why it would be overwriting the config.
are you sure you editing the file with correct permissions o.O
yep, editing it with root
Hi, does someone know how to set the speed of a minecart?
change its velocity
Sure, but this depends on the direction the minecart is facing
Sure, but in what direction the velocity gets applied to?
which ever direction you want
it's overwriting
i tried shutting down bungee, editing through ssh as root with sudo
saving, reboot the dedi
do you have a webpanel or something?
hey
personally I don't use webpanels if you have ssh access
I use a systemd service to launch my servers 😉
i can't see a setting for it in ptero
well, it is ptero that is overwriting it
i need help
Does anybody know a good plugin that will execute /playsound server-side if I use /broadcast or the BungeeCord /alert command? thanks 😁
So I shaded the plugin in
but it still doesn't work
NoClassDefFoundError
@dusty topaz
you set the right scope?
basically setting no scope or <scope>compile</scope> is fine
how do you get the minecraft console client
We still don't know what you mean
it controls the server
Huh
You mean the server console?
Are you trying to get the console as a CommandSender?
Bukkit.getConsoleSender
sure
Ah okay get the ConsoleSender and invoke sendMessage
how do i get it
idk how to use it
hi conclure XD
Bukkit.getConsoleSender().sendMessage(“message”);
Hi occy
Troubleshooting again ?😋
yes
and you actually build your project with maven clean package?
um