how to block end gateway travel
Im messing around with Worldguard flags trying to find a way to prevent players from travelling through the end gateway unless they are in a permission group that they obtain after killing the dragon. I disabled the enderpearls flag, which works when an enderpearl collides with a block, but it doesnt stop them from working on the end gateway block
52 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by uncle_cobes#0
probably make a plugin for it
can't they just build to the end islands?
might be able to use chunkyborder and have it be the size of the mainisland. you can then give a bypass permission to the permision group so they can just ignore the border and tp out
this also fixes the "cant they just build or tp out" cause chunkyborder has an option to tp them back inside the border (using the wrap function)
Now I have no clue how this actually works in practice since its supposed to be just a world border. but hey! seems like it mite fit ur needs
if you want to make a plugin ^^
if you cant i can just whip one up for you quick just lmk :)
btw u dont want to check if the player is op, bukkit automatically defaults ops to true if no permission is set
you'd want to leave the abliity to set a permission to false, so u can optionally have ops not go thru the gateway, but if ur checking if they're ops then u cant do that
doesnt this depend on whether or not the permission is registered in plugin.yml?
it depends on the permission manager is using the bukkit api which luckperms does
but bukkit only registers permissions that are in plugin.yml no?
they have an api for registering permissions
DefaultPermissions (Spigot-API 1.21-R0.1-SNAPSHOT API)
declaration: package: org.bukkit.util.permissions, class: DefaultPermissions
do you see registerpermissions in the code i gave
u didnt give any code for registering permissions?
yes!
that is in fact
my point!
luckperms does it
for u my guy
thats what im saying
^
permission manager!
btw i never register permissions in the plugin.yml and this works perfectly fine for me everytime ive done it
and anyway if i remove the player.isop and dont register the perm in luckperms it just doesnt work if im opped lul
u dont have to register the perm
u dont have to do anything
register as in
just remove op and it works
lp user usr permission set <perm>
if i dont do that while opped it just doesnt work :Shrug:
it works fine
without u doing that
okay đź‘Ť
(btw only done this on paper servers, so idk if paper handles it difff)
theres a chance spigot doesnt do this, but fuck spigot
sometimes you dont have a choice
theres always a choice lmao
if the person commissioning asks for a spigot plugin? :^)
if someone is willing to pay u money for a spigot plugin, then they will be easily understanding when u tell them what paper is
some people still want to use spigot :Shrug:
Well screw them
then i wont wok with them lmao
They’re on a dying platform
they need to learn
theres no reason to be on spigot
^^
no benefit
u still lose vanilla compat with redstone
? wdym
you're also forgetting that theres 150k+ servers running spigot
some of the spigot patches will still break certain redstone machines
still a lot more on paper!
ohh thats what you meant
only 110k
wat
paper has so much more, and all the other ones are forks of paper
oh wtf
my fault
yeah bro ur just striaght up troolling using spgot
just read the label at the top
didnt realise it included all the forks too
i mean 34k servers is still a good amount of servers
and developing for spigot works on paper anyway so
u can do so much more with paper
developing for paper also helps out the 34k servers that are stuck in the past
not familiar with what more you can do with paper
please enlighten me
a really big thing as of 1.21 is all the new registries
^^
u can register ur commands so they work in datapacks and the function command
does spigot not support registries or what
not natively
u also can have full custom mob ai thru the paper api without touching nms
wait really?
didn’t know about that one
Also I was going to say PDC is cool too but that’s spigot as well kek
brigadier support
alot more events
for example this event rite here
custom library loader
:Shrug: