clientcommands
clientcommands copied to clipboard
crashing on server
sorry for bothering you again. i play on a vanilla minecraft server with some plugins one of them is spigot (not paper because i can enchantment crack). if i type in the command to start the script my game freezes and i get a not respond massage. it does work on single player do i need to change something in the code or what is wrong? I have 4gigs of ram allocated to minecraft. https://paste.ubuntu.com/p/z2zgXJDqtH/
i dont know maybe earthcomputer can answer
also the server has anti x-ray
k and is the server yours
And you show me your script?
if that server is public and its not paper im in
its a small server just for me and my friends. like a 6 person server. i didnt change the script. but ill send it anyway, i copyed the entire script and pasted it in a txt branch_mine.txt
i just tested on a 100% vannila server and it didnt work.
ok
?template stale
?template stale
This issue has been inactive for 3 days or more, so it is assumed to be resolved and will be closed. If it was not resolved, simply reply again and it will be reopened.
o sorry didnt know i needed to do it this way. but i still have the same problem could you help please?
I asked you to show me your script, can you show me your script?
i pasted in a txt file because i couldnt send it in the normal file type. branch_mine.txt
Oh, sorry, I missed that you posted it before, I'll take a look and see if I can reproduce it. If everything works as intended, that script is supposed to do nothing at all, since you haven't actually called any functions. It shouldn't crash the game though.
Did you managed to reproduce it?
I haven't got round to it yet. In the mean time you can make sure you don't use Thread.currentThread
without doing something else as well.
No problem, how do I do that can I go in the code and put it to false?
Postponed because Java 15 has been released which doesn't include Nashorn, and I'll be rewriting the scripting component of clientcommands and this bug will likely disappear in that process.