#help-archived
1 messages ยท Page 13 of 1
Thanks
What about having characters like ยง in config so I could store an NBTTagCompound
I am getting this error
org.bukkit.configuration.InvalidConfigurationException: unacceptable code point '' (0x15) special characters are not allowed in "'string'", position 306
[20:32:53] [Server thread/ERROR]: Error occurred while enabling ServerSelector v1.0 (Is it up to date?)
java.lang.NullPointerException: null
at me.kieranslayer.ss.ServerSelector.onEnable(ServerSelector.java:116) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [spigot.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462) [spigot.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376) [spigot.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:457) [spigot.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:267) [spigot.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784) [spigot.jar:git-Spigot-800b93f-8160e29]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
what the problem here ??
@fleet burrow you need to write a lot xd https://gyazo.com/a4041e489bb7d0dd511efb16aa56ebfd
@crystal trench btw this worked just fine lmao https://srcb.in/5e1e0e9f52 40 lines of code
at me.kieranslayer.ss.ServerSelector.onEnable(ServerSelector.java:116) ~[?:?]
usually when there's an NPE onEnable() for a plugin it's because you're trying to get a command that does not exist in the plugin.yml
Though we don't know. Send your code and the line in question and we'll tell you
@fleet burrow Why are you holding section symbols (or NBT for that matter) in a YAML configuration?
okay thanks
I am making a plugin for custom recipes
And it's using ExactChoice
So for customrecipes of custom recipes
Right. Though you would probably want to use the text component API, no?
{"text":"foo ","color":"red","extra":[{"text": "bar","color":"blue"}]}
At least if you're holding NBT, I assume you're directly injecting that into an ItemStack and not working with the Bukkit API
(because Bukkit doesn't expose NBT)
Because that's how modern chat is handled in the Minecraft server
Bukkit's ChatColor system is legacy (and truthfully, BungeeCord's Chat API really should be depended on in Bukkit at this point)
No, it's a name. Right?
All text is handled using text components
/give @p diamond_sword{display:{Name:"{\"text\":\"Foo\",\"color\":\"red\"}"}} will work.
I'm not sure Bukkit's ItemStack will play nicely with it because it does still use the legacy system, but afaik, it should work fine
Though really, items and configuration files are icky
Anyone happen to know where i can change the way /who and /list looks, i can't seem to find anything on the internet
oh thats right, lol thanks
/list is from minecraft itself Iโm pretty sure
It should return 0
thought so
this is the impl btw
ah yeah so will be 0
Huh, I wonder why the check time < 0
Under what circumstances can it have negative times
seems like plugins are allowed to set negative full time
or at least the contrary isn't enforced in code
doesn't look like setFullTime enforces it
unclear if that's a bug, given that getTime accounts for it
maybe it makes sense somehow
who knows
i'm trying to implement something where you can only do X between configurable times. but if the start time is say, 20000 and the end time is 4000, how would I implement that
would i have to manually tick or is there some maths that i'm not seeing
you could implement that as two ranges
20000-24000 and 0-4000
there's probably a more elegant way i'm missing
You mean world time or server tick?
lol
i'm not the smartest at maths
is there no nicer way of doing it? tbh i'd rather just make a 1 tick runnable
ok it turns out there is a big brain way of doing it
and count
best way to cap a number -x to x? ๐ค
Is that actually faster @silk bane ?
yeah, mod operators are magic
that goes over my head
do a maths degree
pass
๐ฎ
Hi, I have a skyblock server. When placing certain items like barrels, bed and some others, they just disappear. Any idea what the issue can be? We have skyblock plugin, worldedit, worldguard, and a few that I cannot imagine being an issue..
There is no error message
What server version are you on?
1.15.2
Do you have ViaVersion or some protocol plugin?
No
Yes, they just blink where I try to put them and just disappear
My concern would immediately go to world protection plugins such as WorldGuard or GriefPrevention. Ensure they're up to date as well
If so, check on the configuration files
check worldguard blacklisted items
also check for EssentialsProtect if you have it
and it's config if you do have it
Griefprotection is not there and the people at worldguard said that if there is no message, it is not worldguard
I dont have essentialsprotect
What plugins do you have?
Advanced-portals
Citicens
CitizensServerSelector
EssentialsX
IrdiumSkyblock
Multiverse-Core
PermissionsEx
SetSpawn
Skript
SkyblockX
WorldEdit
WorldEditSelectionVisualizer
WorldGuard
Not much of these have possibility to blacklist items,..
check your skripts
There are two scripts, AntiWorld and NoBreak
Do they cancel the placement?
AntiWorld:
on script load:
message "&b&lAntiWorld &bLoaded! &7Developer: &bTrymzii" to the console
#Anti-Break
on break:
if player does not have permission "Antiworld.admin":
cancel event
#Anti-Build
on place:
if player does not have permission "Antiworld.admin":
cancel event
#No PvP
on damage:
cancel event
#Always Sunny
on weather change:
set weather to sunny
#Burning disabled
on burn:
cancel event
#No loss of hunger
on hunger meter change:
cancel event
The other just this:
on break:
player is in "{@World}"
player doesn't have permission "{@Permission}":
cancel event
you can use
test
for code
In the script you mean?
how do i check if a section exists in bungee
Hello, dose anyone have the forum thread about premium guidelines thanks
Hello, dose anyone have the forum thread about premium guidelines thanks
@silver pewter https://www.spigotmc.org/threads/premium-resource-guidelines.31667/
thanks ๐
Hello there!
I'm having some issues with Dynmap not rendering in the web browser correctly as seen in the attached screenshot.
I'm running /dynmap radiusrender 1500 (From the center of the world).
I've got a world border set to a value of 2500 with Minecraft's default system.
I also tried installing WorldBorder and pre-generating the entire world within the border. and this issue still occured.
Someone suggested to remove the WorldBorder plugin and try again (now that the world is pre-generated) although I've still got the same issue.
Is anyone able to assist with this? Thank you!
@crystal trench btw this worked just fine lmao https://srcb.in/5e1e0e9f52 40 lines of code
@fleet burrow I don't use minecraft NBT ๐ I made custom NBT for saving my data and loading fast, and I work with it in Async
@south cedar So, the world is for sure, 100% pre-genned within the purview of dynmap?
Just making sure
@south cedar I had a similar issue.
Not sure what the cause is.
It still happens for me.
Have you tried it in different browsers? It could be a literal rendering issue.
Though, based on the patterns, it seems like an issue with the plugin itself
Just tried now. Same issue
Hmm. If you restart, the dynmap glitches/black spots stay in the same configuration, right? They don't move around?
Yep
Anything special about those chunks? Have you inspected them with spectator, or anything?
Nothing seems special. I've teleported to them and they're normal to me
I can run radiusrender 8 inside them and some of them fix, although others don't
Be back in a sec
Alrighty
@undone moat it seems to be a render issue with dynmap and this happens all the time regardless for some reason.
when zooming in, it usually fixes itself sometimes
I'm gonna keep on asking this once in a while because I need some assistance on it and I can't seem to find any information anywhere. Is the vanilla commands for /scoreboard bugged in spigot 1.12.2? I can't seem to make my nametag disappear or colour it. I don't have any plug-ins yet so it's something with spigot
I have no issues with it. Everything important renders fine for me.
@humble hollow let me try zooming in.
Yeah I have noticed zooming in helps with some chunks, not all though
^
it might be a packet issue if there is too many chunks in the world that us, the user, would have to pull from dynmap
I only have a 2500x2500 world. Don't think that's an issue
@south cedar gonna try for my server and check console
Alrighty
Hi, I need help with plugins
If you would like to browse around mine let me know I'll DM you the discord with console access
@alpine tide ask away, dont wait for a response
@south cedar sent FR since i keep dms off
accepted
Anyone teach to make plugins or recommend me to see some tutorials?
youtube has some tutorials, but you would need to understand how java works
I am learning a bit of Java, then I finish everything about Java, I will see some tutorials
^^^ been having the same issue with dynmap. unsure what's causing it
2500x2500 map, genned, not fully rendering ๐ฆ
I personally just re-ran the pre-gen with the force option and full rendered, wasn't perfect, but left much less unrendered
some oddball quirk with mojangs chunk system
How do you usually handle async callbacks? ๐ค
CompletableFuture's #thenRunAsync() or #thenCallAsync()
Or, I suppose, handleAsync()
Thank you
If sonatype is broken how can we get bungeechat for spigot?
excuse me, is there a plugin that sets a default spawnpoint? im meaning, (example) i spawn at 0, 100, 0, and i move to 100, 100, 0, i leave the server, and again i am at 0, 100, 0, also, it is for 1.15.2?
Hey guys, what causes it to stay at 0 for a while
Its a new 1.15 server, the worlds 1.15 generated
then it may be due to resources
Can someone help me with some dns stuff?
Hello, how can I disable ender pearl throw?
Listen for ProjectileLaunchEvent, check if projectile is an ender pearl, cancel the event
I'm making an server selector for someone that's all
Why wouldnโt you use a compass
Isnโt that the more popular server selection tool
Yeah, but they can change it to anything
Oh
why dont you use playerinteractevent and the setUseItemInHand(Event.Result) method
Yea
true
Because if you use the original method, youโre also gonna have to do something about placing Redstone
Wait no
Spawn protection
event.setCancelled(true);``` Like this?
yes, but i think event.setCancelled is not necessary
ok then cancel the event
I've tried both
No
You can try that then do
if(e.getItem().getType().equals(Material.ENDER_PEARL)){ ///actions
Bruh why do people still use 1.8
Faction servers
Ahh
Okay thanks
and lol thats funny about the 1.8 thing
That's the last version I was even doing any modding, and I was using factions.
and I actually stopped working on Modding specifically because of that update.
Well, because of 1.9.
well that was a stupid decision lol
@subtle blade So I changed my name on spigot. Is it possible to have a change here as well?
Okay thanks I love pinging you btw
I can tell ๐ฆ
At least you're not stuck with 100+ bot account reports @subtle blade ๐
yet
I can't run the program 24/7 my dude ๐
Yet
I have no phone, so no patreon, so no dedi ๐
Give it a few months ๐
Then you'll be stuck with lots of requests ๐
It's not that it will be hard, it will just be repetitive as fuck as well
:((
โค๏ธ
I'm going to hate it too Choco, so don't worry ๐
But hey, at least it will make finding bot accounts easier ๐
Even if the mods will hate me after it xD
Do all forums staff have to be resource staff first?
Like is there a hierarchy or something
nah, depends on what you apply for.
Applications are pretty rare though
Iโve just never seen a request thread on forums lol
request thread? for what?
For staff
Ah, applications are incredibly rare ๐
Still rare ๐
But yea @frigid ember it's pretty noticeable when they're open.
I'd personally apply but FUCK IRC
Is it just like any position is open and you can apply for it?
usually a specific one i think, @fleet crane would have to answer that one
Gotcha
Whatever we need. Next would most likely be for resource staff because we have like... 6 mods
Of which, 2 are usually on the forums at any given time
Inb4 still only IRC requirement ๐
I'll make it a pain for the staff as a whole once I'm actually capable of automating shit though @subtle blade love you guys โค๏ธ
:((
Love you the most Choco โค๏ธ
You'll probably hate me after a while though ๐ ๐
Even looking for bots murders my PC, I'll most likely have to see what the most resource intensive part of it is ๐
Maybe I'll open src those projects ๐ค
Love you the most Choco โค๏ธ
don't let sam see that ๐ฎ
Don't worry @keen moth I'll get all the staff to hate me once I can run everything 24/7 ๐
Won't matter then ๐
what're we talking about here?
I've got a few programs
@keen moth
1 Auto Detects bot accounts, the one would detect malicious plugins.
You guys would probably hate me simply due to the amount of manual reports you'd receive from me after a while ๐น
Imagine it, 100+ reports... same fucking thing for all of them
Easy but repetitive as fuck
pog?
why ๐
too lazy to spell it all
why the pog tho?
oh cause of your programs
Robots
I've done manual checking since i started the AntiMalware & "list of malware" thread ๐
The bot finding is just whenever i feel like it ๐คท
Should let it continuously run ๐ค
I've tried
It murders my PC ;-;
The bot finder gets to around id 2000 before i have to forcefully stop it :/
RIP indeed If i had a dedi or second computer I'd throw it on there, but i don't have one so i can't
I wonder if it's possible to get the latest member ๐ค
I don't think so
I should open an issue >:)
Currently i just have it loop from 1 to the Integer.MAX_INT
Hopefully at some point that API completely replaces spiget ๐
Would be amazing if it does
rip
Yea ๐
It seems to be running smoothly again, I'll have to wait and watch it though ๐
Made the issue ๐
anyone know of a plugin that lets you silktouch spawners for 1.15.2 spigot
Please, help me
@quick arch 1.15.2 bud
return subStatistic == null ? player.getStatistic(statistic) : player.getStatistic(statistic, subStatistic);
}```
i've haven't used generic types much so idk the right words to use
but if i have a generic type, is there any way to cast subStatistic in that method to the generic type and have the player.getStatistic method accept that?
Where's statistic defined?
at the top of the class
the method works differently atm but it has to use a bunch of if statements, just thought it would look a lot nicer if that idea works
im making a server on a crappy old pc and I'm detecting 2 gb of ram to it and when I run the .bat file it says "could not reserve enough space for 2097153 KB object heap" what do I do?
Jesus
@ruby plover 2097153KB is ~20GB ram lol
what......
phew
bahaha my brain is not functioning tonight - are you running 32 or 64 bit java?
nvm - 32 bit max is 4gb
However - https://stackoverflow.com/a/1434901/5991792 on 32 bit OS's the max heap size ranges from 1.4G to 1.6G
You do not have enough system resources available, you're either using more than what you have. Is your min set the same as your max?
how do you check that @old flower
Paste your .bat and just simply open up your task manager to check how much ram you're currently using/have available, it'll give you a good rough estimate of what's going on.
how i can move player crosshair without using teleport
java -Xmx2048M -XMs2048 -jar spigot.jar nogui
PAUSE
Change your xms (This is your min) to something like 128 or 256, this will likely let you start your server but with it not launching at 2gb min start... you'll likely crash if your server ends up using close to whatever amount you do not have available.
Change your max (xmx) down to 1024
hello
ok
someone see me
how i can move player crosshair without using teleportcan you have me
i am invincible
private void writePacketOption()
{
int m = 0;
if (!seeInvis)
{
m |= 0x1;
}
if (seeInvis)
{
m |= 0x2;
}
teamPacket.getIntegers().write(1, m);
}```
PacketPlayOutScoreboardTeam class:
```private String a = "";
private IChatBaseComponent b = new ChatComponentText("");
private IChatBaseComponent c = new ChatComponentText("");
private IChatBaseComponent d = new ChatComponentText("");
private String e = ScoreboardTeamBase.EnumNameTagVisibility.ALWAYS.e;
private String f = ScoreboardTeamBase.EnumTeamPush.ALWAYS.e;
private EnumChatFormat g = EnumChatFormat.RESET;
private final Collection<String> h = Lists.newArrayList();
private int i;
private int j;```
Wiki.vg: https://wiki.vg/Protocol#Teams
yet somehow
friendly players still dont show
this worked for 1.12, idk if im doing something wrong (yes, adjusted all indexes accordingly)
HELP MEEEE
wdym without teleport
That is the only way you're going to do it
When you change a player's coordinates (or look direction in this case), they have to teleport from one set of coordinates to the next
If it makes you feel any better, you can call it translocation
I'm having problems with my server crashing when I use a flyspeed of 1
I have to lower it, which means each player who flys must change their flyspeed to not rubberband, and flying with elytra and fireworks is basically impossible
If it makes you feel any better, you can call it translocation
@subtle blade minefs.net in MineStrike mode, they can do it
I assure you they teleport
hmmm
The concept of changing a player's coordinates from one to another is teleportation
^ Doesn't matter the game either
@storm vessel Have any crash logs and are you using any anticheats that would be preventing flying?
The server hasn't crashed in awhile since I turned the spigot speed settings down
I do have antilag but I made sure to disable flyspeed, and the issue was there before I got the antilag
do you have a crash log?
does anyone know if there is a JS or python library for spiget? (not spigot)
@quick arch Decided to throw the code on a separate thread, not doing that might of been one of the main reasons it wasn't playing nice with my PC ๐
pog
Still thinking about making the projects open source, not 100% sure though ๐
๐
I don't really think there's that much use making them open source tbh but ๐คท
Is there a way to create a server that redirects players to another server, and that the connection between the player and the server is direct?
I mean, that the packets are not forwarded by a proxy server
BungeeCord?
bungeecord redirect all packets throw the bungeecord server
i need only a player redirector
not a packet redirector
i dont want nick to be disabled
what do i do
this is essentialsX
It's not disabled.
the nick doesnt appear tho
i can do /nick but it doesnt show up when i type
only in like /baltop or smth
how do i fix it
Do you have the permission for it / are you operator?
yeah people have perms for it
they can do /nick
it just wont show up for normal chat
only in like /baltop
So, it wont show when it auto completes?
I don't really know how to fix that issue, but the way you showed it in the picture, it's still a functional command and not disabled.
like everything works except for it doesnt show up
when i type smth
and it doesnt show up in tab
Yeah, I'm not really sure how to fix that. But it does work at least.
Sounds more like an issue with the plugin to me than anything.
or you may be having conflicts with another plugin.
well it doesnt show up so it doesnt matter if the command works
well
i think its UltraPermissions
they have its own chat manager thingy
i dont know how to fix it
Personally to me, not a big issue. You could try to find what is causing the problem, maybe the permissions plugin or another plugin that handles nicknames as well.
dude
im so confused
my plugin has an onEnable method
which is RUNNING
but it wont broadcast the message from it like 70% of the time
I can see it logging in console
but I swear its literally not running my loadFiles() methoid
That's funny.
I swear, I thought I was crazy when I was having issues with broadcasted messages not appearing.
dude but like
specifically with the onEnable method
and you @Override?
yeah
i thought its been working perfectly
but idk maybe i just didnt notice
gonna try logger
I personally haven't noticed any issues recently.
But I've kept all of my broadcasts out of the Enable now.
no error
its been working before
and it works randomly
which is why im like what the fuck
๐ค
Maybe retrace your steps?
It hasnt been that long since it worked right?
OR
i tried that
I want it to reload too tho
but
resytart has same issue
so im assuming that aint it
Loading from Files or Database?
have you looked through the files for any discrepancies?
could intellij or somethibng be locking my files
I open them all the time and it works tho
I was getting some hell just trying to get my database shit to work
because of IntelliJ
but, you would get stack traces if you had classes that were missing
grid had49 chunks
as broadcasted
loaded into 0
lol
was working before
idk what the fuck i do
just 1
maybe you can try to designate it as final when it passes through
making a new factions plugin? lol
yeah im already done
actually
like mostly up 2 par with FUUID
I just broke this like maybe yesterday
and now my data is like fuck you
sounds about right
i refactored my proj yesterday
to make it a aggreator
with modules
maybe I ruined it then
I would consider that a possibility.
there we go
im gonna try something
I have a thing in my framework
which minimizes data
so im gonna say its a config file
which means itll still work the same but it just pretty printed
maybe its that
OR
OR
HAHAHA
Im using the same instance
of SavagePlugin
which gets the data folder
in another plugin
im a dumbass
lmao
which is why the maven multimodule project broke it lmfao
HAHAH
Im been staring at this for like an hour
yeah, sounds about like the issues I had yesterday
I converted my project to Maven yesterday
maven multimodule is cool af tho
ok but now
I think what I can do is
shade the savageplugin in diff paths
and itll work
tf is SavagePlugin anyways lol
its a wrapper for JavaPlugin
so I can have my GSON utils up and goin
and some other stuff
it lets me make a plugin in like 5 min
It handles like everything
basically reduces setup time
all my libs are there and all
the name of it reminds me of a server I used to play on back in the day lol
yeah idk why i expalined that
Savage Realms; it was a popular factions server
i c
Ah
I was about...shit how old was I then
well actually 2011*
I was 17 or 18 I guess.
I didnt either.
I was about 19 when I first experimented with it.
and I havent really touched it in a few years
I changed the class path for FTOPX
and made it shade to net.prosavage.factionsx.ftop.shade.baseplugin
and factions shades to net.prosavage.factionsx.shade.baseplugin
should work i guess
yeah im gonna write discord integration
lol
I use kotlin
but the bot will be in javascript
cuz id rather use the native api
k sweet.
I use js too
I cant wait to get somewhere with my project in the future ๐
so much work to do lel
Ive been grinding FactionsX for two months now
i'm still shit at coding even after 5-6 months
but I dont even plan on publicly releasing my plugin either.
public release is fun!
prolly 30% of reaching veteran level ๐
I dont plan on publicly releasing it yet
o
Well
yeah im making a factions server first
and performance testing
im working with a friend who has a large server
Probably way after I get my server launched if anything.
I used to run a factions server, they're fun.
make a custom tnt explosion pro
I used to have about 500-800 players online at a time on my server I ran
so they don't have to buy that shitty beerspigot its stuck on 1.8 forever
24/7
but, that was once again also in 2011
My server went through a ton of shit, especially within the Notch era.
One of the things I remember a lot is when Experience and Enchanting came out
Notch era was a bliss touch of heaven
There was a bug, and XP drops were glitched
until Microsoft took over and ruined its color
and they would spam infinitely
and crash your server, lol
so like all the server owners were scrambling to figure out how to get it to stop
Black so u know how u ran a server in 2011
yes
all the factions plugins still use the SAME 9 year old base
this is why im working on this project
I believe it, Factions never really changed much from it's original state
thats why I am recoding it
There's only a few slight differences.
1.15.2?
1.8
yeah
Im forced to do it on 1.8
i test on 1.8 and then use experience to make it work across trhem all
there's oldcombatmechanics ๐คท
I have a few tools in SavagePlugin we spoke about
on 1.13+ it loads the chunks async
so the ftop will be a LOT faster on 1.13+ if u use paper
My plugin was like severely dependent on the old combat system rofl
I probably could have made it work for 1.9; but screw that
lul
pro will the factionsx ftop hologram will not have a memory leak? like shit those updating holograms are hella annoying
ugh what to work on now...i really need to do inventories/items
dude idk this shading error
its acting like it didnt shake kotlin
so idek how it ran
lol
I got nothing for you there.
I hate Maven.
I think it's stupid, it's like a necessary evil.
lol
OH
I think I know why
I changed my classpaths
so now it cant find the kotlin
Bruh
I am new here, but I have a bit of a problem. Got the latest spigot update installed just now, but found out it deleted my target folder, where my MC world was, so now that is gone. I would die to get it back tho, but I havent found any old spigot version folders or anything
I don't understand why do the community have to always argue whats the best Anticheat on Spigot. which is an endless loop of fixing bugs and false positives.
just hire an admin and let them inspect them lmfao.
because people like to argue
A lot of people don't like hiring admins, because that can also become worse than running an AntiCheat plugin.
mhm indeed
^
i remember hiring an immature admin
he legit banned 25 players on my server on 1 day
On my large server I ran, I never had any staff.
all of them was complaining in the forums
I only elected Helpers.
very basic but
bruh
I was the only staff member, moderating thousands of players. Definitely doable. You dont need a large team of staff for anything.
thats amazing whats with the dirt value ๐
this is for all chunks
Diamond Block kinda threw me off, that was why I said wait; lmao
is that a custom emoji using unicode?
it fits the faction theme
I need to implement the hover-overs in my chat system I'm working on.
I remember I figured out how to do it on my plugin when they just came out, I felt badass ๐
now thats a big spam in the console
can make it use like all the CPU it can without using the server thread
now thats epic
Asynccc
lmao
Close enough
lol
i7 sucks i mean no cpu can handle pre-loading
im using a 8700k @ 5ghz all core
unless Ryzen 9 can take it without actually dropping 19.99TPS
It has nothing to do with i7 anyways, CPUs arent that great at processing shit anyways.
Their versatility is actually their weakness
i feel bad for the people using multicraft
it doesn't use all the threads
cant say poggers 2 time
ptero lets u configure percentage use
wish i can buy a pc for my server
but its not gonna be a good thing either the wifi in our country SUCKS
I have a spare PC I probably could use
My internet is good, but I definitely dont have upload speed matching my 1gbps download speed
I have 1gbps here
๐
1gbps is pretty common nowadays
but our plan is now 450/450
A lot more common than it used to be.
450/450 is still good, more than sufficient to run a server.
i wish i live in europe
fuck the wifi in asia
Im in Murica`
You can run a server off of fuckin 100mbps easy
yeah, no reason to.
like 5mbps here is already $40/mo
lol
its so shit
and then your ISP would probably disconnect your shit if you got DDOS'd
ye
15mbps here are $200/mo
what country are you in
fucking country man ngl
indo?
philippines
thats like buying an average gaming cpu $200
sucks when your country relies on only underwater fiber optic cables
for 15mbps lmfao
It's probably so expensive because they dont have the capability to support faster speeds for everyone
You may be better off just waiting for SpaceX to launch their satellite internet ๐
What voting thing
the voting plugin
what does it do???
It checks for errors in a yml file
ight thx bro
much luv m8
while parsing a block mapping
in "<unicode string>", line 35, column 9:
Console:
^
what does thhat mean
@late palm
i gotchu
Reward for any site
Similar to AnySiteReward
This requires the site to be configured in order to get the reward.
VoteSites:
ExampleVoteSite:
Enabled: false
Name: ExampleVoteSite
Priority: 5
ServiceSite: PlanetMinecraft.com
VoteURL: link to vote URL here, used in /vote
VoteDelay: 24
WaitUntilVoteDelay: false
VoteDelayDaily: false
ForceOffline: false
Item:
Material: DIAMOND
Amount: 1
Rewards:
Commands:
- say hello
Messages:
Player: You voted
Site2:
Enabled: true
Name: Site2
ServiceSite: minecraft-server-list.com
VoteURL: https://minecraft-server-list.com/server/456735/
VoteDelay: 24
Item:
Material: DIAMOND
Amount: 1
Rewards:
Commands:
Console:
- 'broadcast %player% has voted for MarcusCraft!
- 'eco give %player% 10000
Messages:
Player: '&aThank you so much for voting!'
MinecraftServers:
Enabled: true
ServiceSite: MinecraftServers.org
VoteURL: https://minecraftservers.org/server/579832
VoteDelay: 24
Item:
Material: GRASS
Amount: 1
Rewards:
Commands:
Console:
- 'broadcast %player% has voted for MarcusCraft!
- 'eco give %player% 10000
Messages:
Player: '&aThank you sp much for voting!'
EverySiteReward: []
oh sorry XD
^
do i have to put it for like the service site and url
and URLs are usually strings as well, so yeah you'd typically add '' around it as well
IF you don't know what a String is, it's simply put a sentence.
or a combination of letters that the program can interpret
Console shouldn't be a problem there as it's another string list
They typically have to be encapsulated with the '' s
ok
i seee
# Reward for any site
# Similar to AnySiteReward
# This requires the site to be configured in order to get the reward.
VoteSites:
ExampleVoteSite:
Enabled: false
Name: ExampleVoteSite
Priority: 5
ServiceSite: PlanetMinecraft.com
VoteURL: link to vote URL here, used in /vote
VoteDelay: 24
WaitUntilVoteDelay: false
VoteDelayDaily: false
ForceOffline: false
Item:
Material: DIAMOND
Amount: 1
Rewards:
Commands:
- say hello
Messages:
Player: You voted
Site2:
Enabled: true
Name: Site2
ServiceSite: minecraft-server-list.com
VoteURL: https://minecraft-server-list.com/server/456735/
VoteDelay: 24
Item:
Material: DIAMOND
Amount: 1
Rewards:
Commands:
Console:
- 'broadcast %player% has voted for MarcusCraft!'
- 'eco give %player% 10000'
Messages:
Player: '&aThank you so much for voting!'
MinecraftServers:
Enabled: true
ServiceSite: MinecraftServers.org
VoteURL: https://minecraftservers.org/server/579832
VoteDelay: 24
Item:
Material: GRASS
Amount: 1
Rewards:
Commands:
Console:
- 'broadcast %player% has voted for MarcusCraft!'
- 'eco give %player% 10000'
Messages:
Player: '&aThank you sp much for voting!'
EverySiteReward: []```
you can try that and see if it works
k ty
If that doesnt work, then just try removing all the 's
As it seems the example provided doesnt have any
oh shit
so phucking
XD
lmao
So as you all know PlayerChatTabCompleteEvent (Depreciated), I am adding custom commands based on the PlayerPreprocessCommandEvent how would I add a custom command nicely to chat tab completion?
TabCompleteEvent exists
i ned a resource staff
what do you mean by player tab then?
PlayerCommandSendEvent
Does anyone here have a lot of experience with packets / nms? I've been attempting to fix this issue without any success. In all versions 1.8 - 1.14 the armorstand successfully spawns from PacketPlayOutSpawnEntityLiving packet but in 1.15 the armorstand spawns but it is visible and doesn't have a custom name. Why does this happen?
I am just using raw NMS no reflection or anything
yes
That's the problem
if there was any constructor chage
intellij would see it as an error
but there were no constructor changes
Try ProtocolLib is all I'd say
I don't have much experience with N,S
NMS
But with packets I do.
And reflection
I just don't want to shade big libraries into my plugin
kotlin runtime is already too much ๐
protocollib is open source
ok
Well they handle everything for you
packet listening to packet sending
Any luck today? I'm trying to figure out if Spigot blocks the vanilla /scoreboard colour/nametagvisibility command? I've got no plug-ins, it's on 1.12.2. I can't make my nametag disappear on the server, nor colour it. It's a local spigot server.
can someone help me with mcmmo
when i turn on the name tag it says there power lvl is 0
Contact the plugin developer
@fierce tinsel tbh happens to me too, never did figure that one out.
does someone know a plugin to display video in minecraft
Is anyone familiar with the WorldGuard API? I've been struggling with the documentation as it doesn't seem very helpful, and would love to soak up some knowledge or see a few examples of what I can do with it. As far as what I need to do is define, redefine, and delete regions via my plugin, as well as set some flags. Flags seem pretty straight forward though.
@velvet halo If you want to add commands, never use the listeners, create a class that extends Command and add it to the bukkit CommandMap during runtime. That way your commands are actually commands
Yeah I changed it @sour dock
Is it allowed to upload Mc Maps on SpigtoMC?
There isn't a resource category for that at the moment, but it might not be such a bad idea
does someone know a plugin to display video in minecraft
@mossy zenith do you know where i can talk to the dev
Guys, you know what is the IP to the server
@sharp jolt there are plugins that can display gifs or vids in item frames with maps
@oblique sentinel whats name of that plugin?
there are several
just type in the searchbar sth like "gif/image/vid item frame plugin spigot"
Thx
Hello I trued uploading an icon for a resource and it failed to upload
Now my resource has no icon
There's a button to change the icon
Hello there, the forum private message verification does not work
@urban folio spigotcraft? play.spigotmc.org
@boreal tiger !!!
Hello I trued uploading an icon for a resource and it failed to upload
@frigid ember now my resource has no icon
Calm down @frigid ember
i waited 3 hours
You only asked now lol @frigid ember
just to go home after I go to work
๐
But am i allowed to Upload Maps on spigot mc?
thanks
I dont think Spigot is used for uploading maps?
Have you ever tried Planet Minecraft?
lol
is there a way to link projectors to levers in prodigynightclub
I didn't received a message (#verification)
Okay, thanks :)
I want my command to be executed when the command is /pluginname <command> instead of /<command>
Can anyone message me the appropriate docs or solution cause I can't find it
That's not really how it works?
Well I'm new to the API
example when you prefix the essentials commands with /ess
Well, you can do it with YOUR plugin name.
Its Tutorial coding time ๐
all you can do is register the "pluginname" command then check args[0] for the subcommand. Then you can implement an autocompleter
I doubt you could do it with other plugins.
i need a developer for some exsistent plugin menagment for a spigot 1.8.8 prison server (DM me)
you need one for exsistent plugin management?
I want my command to be executed when the command is /pluginname <command> instead of /<command>
Can anyone message me the appropriate docs or solution cause I can't find it
@glacial plaza If you want a custom prefix for your plugin,/<prefix>:<command>you may use reflections to access the CommandMap and to access a new instance of a PluginCommand.
Someone coder here? I would like to ask about my command loader, if it's correct
and if you would do it the same
@frigid ember go on?
?ask
If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.
?answer
?help
?helpmeplease
?annoying
?dogs
?dogtips
?catinfo
?about
?owner
OMG
btw, does anyone have any idea where the check is found for ie (the block below the sand has been destroyed so the sand can fall) happens in nms? ๐ค
you need one for exsistent plugin management?
@frigid ember yes for the setup
yeah i found something by tracking blockphisicsevent
final SimplePluginManager manager = (SimplePluginManager) getServer().getPluginManager();
try {
final Field field = SimplePluginManager.class.getDeclaredField("commandMap");
field.setAccessible(true);
final Field field2 = SimpleCommandMap.class.getDeclaredField("knownCommands");
field2.setAccessible(true);
CommandMap map = (CommandMap) field.get(manager);
@SuppressWarnings("unchecked")
final Map<String, org.bukkit.command.Command> knownCommands = (HashMap<String, Command>) field2.get(field.get(manager));
knownCommands.forEach((s, command) -> command.unregister(map));
} catch (IllegalArgumentException | NoSuchFieldException | IllegalAccessException | SecurityException e) {
e.printStackTrace();
}
``` So I logged some of the knownCommands which printed them out successfully but they are not being unregisterd?
Hi guys, I want to change the map of my server but when I switch the map folder, the server generate a new map, can you help me to change the map please ?
sorry i am a dumdum, but how in the world do i create a post/thread for a question on the forums?
@hoary parcel I actually got some of the reflection code from one of the threads you posted in. Do you have any insight?
you can do it a little better tbh ๐ค
you need to delete all the instances for the registered command from the map
command.unregister(map) doesn't do much tbh ๐ค
like it still keeps it in the map
sorry i am a dumdum, but how in the world do i create a post/thread for a question on the forums? @tiny dagger do ya know?
map.clearCommands(); doesnt work tried looking into the source code but it brings me into an interface class so not really helpful
eww
i mean don't do that either
the knownCommands map has all your commands inside
just delete every instance from there
hell you can just add them manually
Clear the known commands map...?
why would you do that
Jesus dude
it would mess all the registered commands
Give me an example of delete every instance from there