#help-archived
1 messages · Page 118 of 1
the Paper jar file
You just download what you want and run it.
You're probably best searching up "How to run minecraft paper server" or something.
How can I change the name of an entity with packets in 1.8? I believe you need the PacketPlayOutEntityMetadata but im not really sure what to do with it, ik it takes a datawatcher, entity id, and boolean
Also I would like to learn how to change the skin of an entity thats being shown as a player with packets
Its actually a craftmonster but its being shown as a player
Any idea why the softdepend option simply isn't working in my plugin?
Something may be misspelled, what do you mean by not working @odd knoll
Just, it doesn't register the fact it should load after certain plugins.
Lemme send some logs.
Sure
Someone reset the password and email on my account and I need help
@stoic spindle with spigot or mc
Spigot
Do i need to remove Spigot.yml if i install paper?
@stoic spindle dm md_5 or open some support
@odd knoll the plugin names are case sensitive and much match exactly as they are in their plugin.yml file
only Spigot.jar?
Paper is a drop in replacement for spigot
You don’t need to remove anything, you just need to run it from the bash file
Ok, so it soft depends on these plugins: https://pastebin.com/LyMhxPwW
These are the ones it's not loading after:
AutoSell
Citizens
CrateReloaded```
And there's a server log.
BattlePass BTW.
Looks like you may have some spacing issues
Could anyone help me with the EntityMetadata packet ? I've done a lot of googling and I cant find anyone not using it with ProtocolLib for changing the name, I do not want to use protocolLib
spacing is off
Is it?
Yep looks like it
in the pastebin it is
someone who can explain in dutch?
Must be just a mistake. It's not like that in my IDE.
@pastel igloo how do you run spigot right now, like what steps do you take
@odd knoll can you screenshot the errro, can’t open log files
I mean, it's not an error, just to show that it's still loading before some plugins.
I'll whack it in a pastebin.
Go for it
i dont know how i need to install paper exactly
the ones that its loading before, open them in WinRar (or whatever app you prefer) and examine the name in plugin.yml to make sure you are matching. i recently had to fix my own because dynmap's api was oddly named
It should be the same name as the one you see in /plugins
or do i just need to upload Paper
Since this is their plugin list:
[23:30:58 INFO]: Plugins (81): AntiWorldFly, AsyncWorldEdit, AutoSell, BattlePass, BettingGames, BountyHunters, BuycraftX, ChatControl, ChatReaction, ChestShop, Citizens, CitizensCMD, ClearLag, CombatLogX, ConditionalCommands, CrateReloaded, CustomJoinMessages*, DeluxeChat, DeluxeTags*, Denizen, EasyBackup, EpicRename, Essentials, EssentialsSpawn, ezAuctions, EZBlocks*, EZColors, EZPrestige*, EZRanksPro, FeatherBoard*, GangsPlus, GCore, HeroAction*, HexicShanks, HideStream*, HolographicDisplays, InventoryFullPlus, IPLimit*, Item2Chat, KitPreview, LeaderHeadsRevamped, LibsDisguises, LiteBans, LuckPerms, LuckPermsMVdWHook*, mcMMO, MessageAnnouncer, MineResetLite, MoneyPouch*, MorphRedeem, Multiverse-Core, MVdWPlaceholderAPI*, NametagEdit*, NoCheatPlus, OldCombatMechanics, PlaceholderAPI, PlayerVaults, Playtimes*, PlotSquared, PlugMan, ProtocolLib, ProtocolSupport, ProVotes, pvpstats*, RandomCommands*, ServerlistMOTD*, ServerSigns, SuperCredits, TabList, tntpick*, TokenEnchant, TradePlus, UltraBar, Vault, VoidGenerator, VoidSpawn, Votifier, Vouchers, WorldEdit, WorldGuard, ZeroTickStopper```
And AutoSell is AutoSell, Citizens is Citizens and CrateReloaded is CrateReloaded.
Case all matches, no spaces in any.
and restart
@odd knoll tbh I wouldn’t worry about it unless it’s giving you issues, is it?
It is.
Because it's not registering missions for people as the other plugins aren't yet loaded.
Hm okay
Unsure
I’m not at a computer rn but when I get to one I can probably check it out better
👍 thx 🙂
i dont get it :/
Did you read Paper's guide?
Tuinity is better than both paper and spigot
But not 1.8.8.
Oh yeah I thought this was 1.15 talk
Yeah paper won't touch you if you even mention you're using 1.8
I'm just confused AF at this soft depend not working.
No you should use paper
on 1.8.8?
If you have a larger player base
Yeah even on 1.8
But
Don't go in their discord asking for help.
They get really toxic towards people running 1.8 servers
i already saw it xD
Hey there, is anyone experienced on making threads on spigot?
I'm having serious trouble embedding images, the same image bb code link seems to sometimes work and sometimes not. I have no idea what causes the bug and how to exactly reproduce, but even clearing the whole thread and starting again doesn't seem to solve the issue sometimes.
This is an example of a bbcode im using [img]https://drive.google.com/uc?export=download&id=1h1pEMvMCfMr377uAvFxjfoAn-K_em4Ue[/img]
Make sure your images are under 5MB and try imgur instead of gdrive
my image is under 100kb, and i dont really wanna use imgur, their privaciy policy and terms of service leave much to be desired :/
https://gyazo.com/9053892cde3811e163596e3ec1fb30d0
@pastel igloo seems like a plugin blocks NBT-Tags in creative, probably ItemFixer or AntiExploit?
Use any service which gives direct links
the link i gave is a direct link
Yeah but it needs to be resolved I think
And spigots cache system may not fully support that
I may be wrong
I see, i'll look for other sites then, but they all seem pretty bad regarding TOS & privacy
Thanks for the advise. Is bb codes the only way to go for embedding images on spigotmc?
I think you could just upload the image directly to spigot
"Upload Image" on the bottom then click insert
Yeah, but the problem is the 10 files limit jmp :/
oh I see
@haughty fable i got Custompayloadpackets and exploitfixxer whit hamsterAPI
the way i would do it is I have a image host on my web server
if you have a server chevereto is free image hosting software
@haughty fable i got Custompayloadpackets and exploitfixxer whit hamsterAPI
@pastel igloo yeah Exploitfixer does it, you cant give yourself NBT-Items in creative with that :/ try to give yourself an exempt permission maybe? 😄
Thanks for your help! I don't have a web server right now, but i'll find some other workarround 🙂
your welcome, sorry I don't have a better solution lol
exploitfixer.admin
i got that perm
but it doesnt work :d
@haughty fable i disabled the plugin whit plugman
thank you so much
thank you so much
@pastel igloo i didnt do much but maybe try to work in the config of it, usually it shouldnt track you tho when you got that perm 🤔 maybe send the author a bug message
anyone have any way to reduce lag due to entity ticks?
Can I get help for bungee in here?
Yes
The tag of this channel says "Serious Spigot and BungeeCord Help | Ask Questions Here" 🙂
I'm blind
well whenever I try and start my bungee it goes into a indefinate starting state
I'm not expert, but console logs, and a detailed description on how you started it will be necessairy for a solution. Also, have you tried adding it to see if its online?
yeah it's not coming online
Alright, i g2g but post that info, someone will probably be able to help you out
ok thank you.
This is the console for the server
I added servers to my config.yml and changed the host port
how do i change the max enchantment level for sharpness
wdym @frigid ember
like
say i only wanna let players get enchantment level for sharp only level 2
not like 3-4-5
not programming just a command maybe?
gonna have to search spigot plugins for it
here, lets just do it programatically.. i just didnt wanna do it rn but how would i set the max enchant by programming
if you need help for outdated versions, then it is probably best you update
Ok lets say i am not on that version there wont be such a big difference (some people like these versions)
but there is a big difference between 1.7-1.8 and 1.15
i have programmed with them all... lol
and yet there is still a big difference between those two versions and 1.15
yet maybe some people wanna use older version's shouldnt be so hard should it?
then it is on you to fix the problems
if you can't do that then you probably shouldn't use them
problems? i dont have any problems i am just asking how to do something?
i dont think thats a problem.
what you are wanting to do is relatively easy.
which i dont know how do?
well this conversation degenerated...
Lack of support for outdated versions is expected, is it not?
I did a poll in my small community, and most of them are plugin users, this are the results I got back
The main versions people still use seem to be 1.8, 1.12, and 1.15 (at least in my small community)
yep
I run 1.14.4
whyyyu
cuzzzz
it's okay
1.14 is by far the most terribly awfully optimized server version
Hey guys, if I get a name change can I opt in to remove previously known as?
that might be true however some plugins my game mode relies on some exclusively 1.14.4 plugins
in spigot?
1.14 is the ham and pineapple of server versions
@frigid ember 1.15 is garb too
yeah my server at idle is taking up 50% of cpu usage
It takes too long for me to start up on newer versions, so its harder to test things when I have to make small fixes
clearly a rat
Do you guys know if I get a name change can I opt in to remove previously known as?
I'm not sure
Alright, thanks. I just have a cool new name i want but I think having previously known as looks dumb
Also, you need to be a donor to change your name
Unless that changed and I'm not aware
Yeah, I can pay $10
Alright, thanks
Hi
I'm back
I started coding a 1.15 Skyblock plugin yesterday with maven
to make my life slightly easier
but I just need help with moving the output directory of maven (/target) to my plugins folder
Is there any way to do that?
Are you using IntelliJ
ye
I got u one sec
thanks
ok
and under before launch
how i do dat
do i use maven tem,plate?
did o
in command line you put the clean package
then under Before Launch
you make new external tool
and use git bash executable as the tool
ok
click the plus, run external tool, in the new window click plus again
ok
--login -c "rm ../server/plugins/MyPlugin*.jar; cp ./target/MyPlugin*.jar ../server/plugins/"
thats the arguments
adjust it for your directories
XD
how dare you
How would I go about doing that for a dir with spaces?
@quartz trench
"My\ Directory"
no but liioke ../1.15 Test Server/plugins/
or smth
how would i go about that
i tried putting quotes
OH
OK
i get it
Could you help me?
Does anyone have some tips for creating a world at runtime? I'm trying to copy a world by first copying the world files and then creating the world but it occupies the main thread so the server will stop responding. I tried to create the world async but I got an error because Bukkit API and async don't go together well.
I don't know what I'm doing wrong, could you tell me?
How can I make a void world in spigot 1.15 without voidgenerator?
@zenith siren to make a world async you need to fork spigot and patch it
@idle zodiac In code or with pugins?
Can't it be done using normal Spigot?
I thiiiiink FAWE had something like that
It's technically do-able, just there are certain phases which avoiding the main thread is pretty hard without modifying the server
Wait, a plugin like MultiVerse or MultiWorld have a create world command that doesn't crash the server
So it is possible
MV does block the thread when it's doing it
Oh
Pasting world parts Async is possible (you'll just calculate async then use Bukkit sync) -> I recommand using TaskChain from Aikar
But generating a world, nop with normal Spigot
Spigot might let you disable loading spawn chunks? not too sure, that would avoid most of the grunt
and, yea, if you're doing file IO like copying folders, you /really/ should be doing that on another thread
Wait, how can I calculate world parts async and then paste them in sync
and, yea, if you're doing file IO like copying folders, you /really/ should be doing that on another thread
@chrome lark
Oki, I'll do that then as well
I'm getting this error when I try to join my server
io.netty.channel.AbstractChannel$AnnotatedConnectException
any other information needed?
Schematics is a world edit feature right?
yeah it is
O_o
FAWE offers it too
I'll look into the WE/FAWE API
@zenith siren maybe you should take a look at SlimeWorld. I've heard of it but never tried
Never heard of it but sure
I think FAWE would be your best bet
This is a new world saving loading system (coming from Hypixel if I'm not wrong)
They use it for their skyblock
And a lot of people here are using it
np
WE just uses the sponge schematic format
The doc is spec'd, so, pretty much anything using schematics shooould be using it
io.netty.channel.AbstractChannel$AnnotatedConnectException
can anybody help me with this error
Uhh WorldEdit ClipboardFormats is throwing a noclassdeffoounderror
i'm using maven and spigot 1.15
I never succeed in using the WorldEdit or FAWE schematic api ^^
ok
@frigid ember This is not an error, can you please send the whole stacktrace of the error?
wat do i do
To make a void generator?
That error just says that your connection failed
typically, make sure the server is actually running, make sure that it's configured on the correct ports, etc
I have an old schematic class but it's not optimized at all :/
i had worldedit and fawe loaded at the same time
or i mean
i had both in my pom at the same time
Oh
that explains it
if you're using WE, make sure that you depend on their plugin in your plugin.yml
ok thanks
But if you read the doc of FAWE their system doesn't work their are some missing class........
my brain
Noce
Guys I've to understand WorldEdit. When I was playing before the longggggg pause (before 2014) their were only WorldEdit and AsyncWorldEdit was beginning to be known but paid.
And now, their are tons of WorldEdit forks
And nothing works well
What's the best plugin WorldEdit for 1.15.2 ? 😂
lol
i use world edit myself and works fine tbh
try restarting?
boolean allowUndo = true; EditSession editSession = ClipboardFormats.findByFile(file).load(file).paste(world, position, allowUndo, !noAir, (Transform) null);
.load isnt in clipboardformat
my braaaain
Guys, for the async world loading I ended up doing this using the FAWE API. It works!
AsyncWorld world = AsyncWorld.create(new WorldCreator(newWorldName));
Hello! There would be a problem with my user account. I changed my location but it hasn't been updated on google's site preview. Could something be done about it?
Guys, for the async world loading I ended up doing this using the FAWE API. It works!
AsyncWorld world = AsyncWorld.create(new WorldCreator(newWorldName));
@zenith siren Awesome ! Thanks
@vital flume What are you talking about? Plugin?
How do I check
please someone help me I can't import craftbukkit to maven
i've ran buildtools
added the jar location as a repo in maven
and then the dependency still tries to reference spigot for literally no reason
i can't install, clean, package
nothing
i've spent hours and i've come up with jack
Sorry i im spanish
Google translate ^^
Already but it puts it wrong
@open girder
You can use the --compile craftbukkit command line argument when using BuildTools
is there a simple way for getting a list of echantments with a level as an input, or would i need to rewrite all of MC's logic for doing that
You want to get like all enchantments with level 1 ?
Can some can give me a download link for 1.16 pre-2?
no, like in an Enchantment Table, you have a certain levels based on the number of bookshelves
like with 15 bookshelves your enchantment table is "level 30"
and it generates a set of enchantments to put on an item based on said level
the higher the level being, the more enchantents and higher level enchantments are put on the item
and @nova anchor client can be downloaded via launcher, server is available here: https://launcher.mojang.com/v1/objects/8daeb71269eb164097d7d7ab1fa93fc93ab125c3/server.jar
spigot server
that hasnt been released yet
uff, beta version?
Nop
@wraith thicket i have done that, i have the craftbukkit jar
@undone narwhal to add craftbukkit so i can use NMS
Just import Spigot and not SpigotAPI in maven then you can use NMS
how do I do that?
with the spigot repo there's no spigot package
just spigot-api
its the same if i check the spigot repo itself
just realised
and I can just use it from maven?
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- For NMS -->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
ok its in my local repo now but i get this for some reason
but its there
using intellij so im sure its something to do with that
magic
^^
for multiple spigot versions, is it all good to run the same again?
java -jar buildtools.jar --rev 1.14 --compile craftbukkit
and then mvn clean install from /spigot
You know a plugin /Furnace in 1.8
Error:(87,91) java: cannot access com.sk89q.worldedit.world.registry.WorldData
uhh
that happened when i was building
wat
Hey! I want to read a String from a file that exists and it tells me it's a nullpointer exception help
?paste
Could you make a snippet of your code?
Your config doesn't have a key called Material
The fact that there is code that is responsible for setting the value exists, does not mean that the value is there
cfg.set("Material", mat.toString());```
Did you call #saveConfig
public String getMaterial(String blockLocation, int index) {
System.out.println("getMaterial Path: '" + blockLocation + ".blockType" + index + "'");
return dbFile.getString(blockLocation + ".blockType" + index);
}
This is getting the output null
[04:08:53 INFO]: getMaterial Path: '7 122 9.blockType1'
The println is outputting that
and the yaml is
8 120 8:
blockLocation: 8 120 8
owner: e6941b1b-ff98-4550-ac83-198ba4b76fdd
world: Island
blockType1: IRON_INGOT
blockAmount1: 49747
blockType2: STONE
blockAmount2: 128
ewwww spaces in keys
Look, I'm new to java, there's absolutely no reason to be so rude
the block location isn't the same as the one in the file
saying eww isn't rude but ok
👍
I manage a GUI in InventoryClickEvent
I use this to get the block Block block = player.getTargetBlock((HashSet<Material>) null, 100);
player#getExactBlock
Is there a better way
player#getExactBlock
Doesn't exist
Perhaps because I'm using 1.8
🤦
Hm
What can I do then...
And why does this only not work certain times
can you store metadata in inventories?
Like NBT tags
does anyone have any idea how to make a custom gui using mycommand
I stopped using 1.8 and switched to 1.12 because it's so weird
@umbral shoal Don't use mycommand
simple
what can i use
Skript
if you real pro you learn Java
but not everyone has time to do it tbh
I mean advanced Skript stuff takes some good time as well
skript doesnt even work on my server and im not planning on adding it
why
waht
are you using 1.8?
because if you are
just use a fork
or msht
also why are you not planning on adding it?
if you aren't using skript dont be lazy and code a plugin
it makes 0 sense
yes
i do
you are trying to make a gui with mycommand
who is the real idiot here
you cant make a gui with mycommand
we have said
use. skript.
you can omfg
or code a plugin
Do you need to make a GUI?
dude im asking for help and you start ranting wtf have i done to you
thank you
you havent used a normal plugin
like skript
can i just ask why the heck you arent using skript
denizen is far better than that weak shit
https://www.spigotmc.org/resources/deluxemenus.11734/
This is insanely good for making GUIs from a config file
you can bind commands
and stuff with it
stop coming here and saying "i'm not using skript denizen is better"
then the next thing you say is "hOw CaN i UsE mYcOmMaNd"
MyCommand is kinda weird
who are you to force me on using skript smh
you should get your mental health checked
THAT'S INSANE
xd
youir jniuerh k nmteneal healthb checke
no but seriously "im not planning on using skript"
WHY
then you get all triggered
what is wrong with you?
HOW
now please shut the fuck up
IM NOT USING 1.8
BEACUSE I WANT TO KNOW
SHUT UP
im toxic???
XD
you get all defensive now?
guys stop please
he is attacking me because skript doesnt work for me
this is the help channel you know, not the be toxic channel
can someone ban @idle zodiac please
dont forget you've been the one that's been shouting at me for no reason smh
I asked him what is wrong with his skript
ban no, but mute maybe
i literally did
@atomic rapids sorry for the ping mate but can you deal with him?
also im not forced to give you any information and to say the least you arent permitted to scream at me for that
i'm not going to scream
you did
@sturdy oar thank you for the plugin its very helpful xd
its a good plugin
but if you are going to do serious stuff you should really learn java
My stuff is completely useless compared to DeluxeMenus
lol same
I used to use mymenu
but its so weird to use
deluxemenus is good tho
@umbral shoal sorry
np
also @open girder shut the 📠 up
what did i do banworthy
XD
then ping a staff member for no reason
but ye
ima cry over my 1.12 plugin now
cya later
Some of my plugin (which they have been uploaded in 2017) have been edited: they don't contains plugin.yml !
How is it possible?
I don't know
I'm sure that the plugin was working on 2019, because i get rating (and I never upload a plugin without tested it) but now it doesn't start
I'm not sure that a yml file disapear from a compiled jar file ^^
Probably George Soros at play here
the problem is that there is also bungee.yml and mcmod.info that are not here. But if i run the build again, they are well in the jar, so i'm like :
https://tenor.com/view/obama-what-seriously-wtf-gif-12341428
How does some servers manage to draw 3d text in the world?
I see. Thank you.
armorstands = big lag
packets are superior
There isn't any performance fix for armor stand in new versions so do not use much. Consider your players who have poor computer ,_,
They can disable it
yeah wait 24 hrs
I want my plugin to filter tab completions for all commands
TabCompleteEvent doesn't seem to fire
@torn robin 1.15 ofc
noice
:]
I'm not going to develop for 1.8! that was years ago
Yeah you can set the tab completer per command
I want to intercept every completion afterwards though. May need to use protocllib
Note that due to client changes, if the sender is a Player, this event will only begin to fire once command arguments are specified, not commands themselves.
Tab complete should work fine
Just maybe not for the first part
Ah
Well, I want to eliminate completions for certain command completely
Oh I see
It's firing after the label
command completions are done on the client, the server sends the command definitions to it
iirc, there is an event fired where you can remove stuff, plugins should also implement perms properly so that commands they can't execute won't be seen
well it's sometimes only
someone know if it's possible to create a squid with guardian power ?
Could make a guardian and change it to a squid with protocollib
Or could make a squid and give the effect to players nearby
any one that knows how to get vault money balance in your scoreboard
Use the vault API
do you maybe have a link to it?
Economy eco = plugin.getServer().getServicesManager().getRegistration(Economy.class).getProvider()
eco.getBalance((OfflinePlayer) p)
That's what you need
Cast to offlineplayer is unnecessary ^^
Player is a subclass of OfflinePlayer so it's redundant to cast to a more generic type.
so just eco.getBalance(p)
Yeah. His code will work, it's just overly redundant.
ecplise and no maven
oof ok idk how to do it then
You should probably switch your project to a more modern build tool
Like maven or gradle
I know
hahaha
I don't know how that works it has been 6 nmonths
How can I block certain command labels from being sent in Player.updateCommands()?
so donwload just vault
Maven has existed for many years 😐
Add it to your build path @south shoal
ok
Download it and add the jar to your build path
and were do I put it on a orivate void onJoin or onEnbale
Help
what
I have lobbysystem plugin
And he have a scoreboard and i have bedwars plugin and he have scoreboard
I want if i go to spawn this scoreboard in spawn if i go bedwars lobby this bedwars lobby scoreboard
is it a online server hosting?
No
is it a bungeserver?
You're probably going to want to set up bungeecord
That will also fix the scoreboard issue
Other ?
than every server has his own plugins
Could make a guardian and change it to a squid with protocollib
@pastel fox have you a tutorial or a docs , so i could know how start.
There is no other solution
Unless there's a really good reason not to use bungeecord, that's the only solution I can recommend
Tunity is free.
Any hosting that's going to let you run a bungeecord network
@zenith siren somthing is not working
This problem bungeecord
the motad in bungeecord cant see it
😐
Change that plugin to this
😎
also added sm00th knockback, and ascyn hit detection
Tunity is free ?
as well as disabling mob-ai
24 hours online ? @frigid ember
I also fixed cannon glitches, and multi-threaded the mainframe, so each thread will run efficiently.
oh god dude you remind me of the 10 year old me back when minecraft was like still in beta
No
@zenith siren and were do I put the seccond rule eco.getBalance((OfflinePlayer) p)
LOL
@zenith siren got it
my fork also runs on specs that are better than hypixel's whole network
once u download my fork, make sure you put your credit card information, and your ssn, we take that for security purposes
😉
only he doesn't know p @zenith siren
Who is he, and what doesn't he know?
@frigid ember i9 9999K? (/s I know that's not a real cpu that's the joke)
hahah
Change that p to player
And you can remove the (OfflinePlayer) before it
We used that when we were in beta stage..
AMD Threadripper
well @zenith siren you are a leggend
Our team custom made each pc component
I know 😎
lol
Optimizing it fully for minecraft
Die manufacturing in house
Do you maybe know how to set date and time in a scoreboard?
@south shoal Get date. Format date. Add to scoreboard.
hi
We also upped the tps to 120, ensuring no issues will be caused, only better performance, and your cpu usage never going above 40%
Unconfirmed *
That's completely unconfirmed
yo no cap, back in like 2015, archybot and I used to work on prac servers
it was chill
what do you mean unconfirmed lmfao?
have you seen the nail in the coffin v2 video?
It's literally a full video of proof
compressed into a video for entertainment, and that shit was fun af to watch
Until he's convicted in a court of law I don't believe in calling people pedos
😒
Was he convicted?
Right so he wasn't
cos he on the chase
?
So if a guy killed a girl, and no one knows about it, except some people in a small community
@gleaming helm Date now = new Date(); SimpleDateFormat format = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
who's going to do anything
like this
you
it's like
oh i saw this guy have sex with a girl
but where's your proof?
stop dude
Then like
It didn't actually happen but
then tell me again
I am under 18
Haha!
it would be uactually lmao, ok this is weird
@frigid ember A fucking youtube video that's designed to be entertaining is not evidence lol
?
would be weirder to film it for proof
It literally shows evidence lmfao
Trust me after the video
@gleaming helm
Date now = new Date(); SimpleDateFormat format = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
^^
It shows the evidence
the dms
the messages
the official discord account
dms can be faked
etfc
brotha
? ?? ? ? ?
^
Can be faked
🤦
It can all be faked
nah
he will get +1 view
why give him the $
can't argue with people who don't want to get evidence
🤷♂️
probs monetized
right?
Guys go #general
Until the person is convicted in a court of fucking law I like to be careful about what I believe.
mhm
so this is what I come up with
I like using the simpledateformatter
Date date = Calendar.getInstance().getTime();
DateFormat dateFormat = new SimpleDateFormat("yyyy-mm-dd hh:mm:ss");
String strDate = dateFormat.format(date); ```
I want to display the time and date seperate
taoh
oh*
then alr good
format both the dates you have
and store them as strings
String s = date1.format(now);
spoonfeed me!
ok
and do the same for the next one
How can i make it that it reloads every sec
Bukkit.getScheduler().scheduleAsyncRepeatingTask(Main.getMain(), new Runnable() {
@Override
public void run() {
// TODO Auto-generated method stub
}
}, 20, 20);
Can you explain how I need to set my thing there the full rule of my code ore a public void ?
Any way to display a user input as a placeholder? Like have the user type... their favorite food. then display that using deluxechat when you hover over their name?
I'm getting this error when loading a plugin on 1.14.4 (the version the plugin is built for)
[Server] Server thread/ERROR Error occurred while enabling Citadel v4.0.2 (Is it up to date?)
[Server] INFO java.lang.NullPointerException: null
[Server] INFO at vg.civcraft.mc.citadel.model.CitadelStorage.registerMigrations(CitadelStorage.java:32) ~[?:?]
[Server] INFO at vg.civcraft.mc.civmodcore.locations.chunkmeta.block.table.TableStorageEngine.updateDatabase(TableStorageEngine.java:23) ~[?:?]
[Server] INFO at vg.civcraft.mc.citadel.Citadel.onEnable(Citadel.java:107) ~[?:?]
[Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:461) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:375) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:449) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:266) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:775) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]
whatever is wrong with it, it is suffering an NPE
means the author of it will have to fix it @shadow orbit
hello
Hello
Hey.
Do you guys know how to detect all kinds of reload attempts.
Currently I detect it when a player types it in the chat, or when a console command is sent.
This should detect all kind of reloads right?
oh wait, if they use some 3rd party plugin like plugman I'm fucked
"/reload" is the most stupid command ever added into the game
expecially since no one programs their plugins to support that feature
just add a reload command to your plugin and don't worry about what other ways they try to reload with
as long as you document that your plugin doesn't support those other ways, everytime someone complains about it that they reloaded, just direct them to your resource comment of that it has a built in reload command 😛
I love how yall put all the hate on /reload, when it's not reloads fault that plugins dont code correctly.
protocollib 😡
reload works perfectly fine for me
Aikar? really quick question. Does TaskChain have a looping task system?
Okay thanks, I was thinking it too but a friend told me the opposite...
i just wanted my plugin to differenciate a server restart and a reload.
I love how yall put all the hate on /reload, when it's not reloads fault that plugins dont code correctly.
@timid valley I've wrote that if I hate reload, it's because basically no one codes their plugin with the mindset that someone would /reload the entire server
plugins like plugman exists, i don
@south shoal seems that you don't have getMain defined
i don't want to manually support each third party plugin yk what i mean
onDisable is called whether you restart or are being reloaded
would be nice if plugman had an api lol, so it has its custom event
Why do you need to differentiate a reload /restart?
to reload one plugin just do /reload <pluginname>
but...
ik how to reload man
that's why we developers implement /plugin reload
instead of realoding the whole server
yup
no just for my api
i wanted to have a specific event
called
ServerReloadEvent
so iw anted it specifically for server reloads
@undone narwhal how can I define Main.getMain
.
lol
This is something nobody needs usually, so don't lose your time solving a stuff like that 😉
you write a method?
for an api, you can't make a custom command for the user
public static Main getMain() {return plugin;}
nah
that makes no sense then
do this
no
thats false
you cant return this in a static context
lmao
well heres a tip, if your plugin is loaded post world and doesnt support reloading, and uses entities or other world state, your plugins broken 🙂
private static Main instance;
public void onEnable.. {
instance = this;
}
public static Main getInstance() {
return instance;
}```