#help-archived
1 messages · Page 139 of 1
I am in multiverse config but I dont see any option
Yes keepSpawnInMemory
Not sure if that's the right syntax but you can try
nice
my friend who named himself "memereview2019" for his username can't join hypixel which I think uses spigot
seems like it works
Hypixel has it's own name filter
thanks @lone fog and @mellow wave
Contact their support team
k
😄
highpickle just hates memes
Or 2019
lol
also does this option with keepspawn do something important?
or just longer wait time when tp
Mostly that
Longer time and no random tick I belive
It's where people would set up command blocks in ye old days
And yes that area won't tick if no one is there
Thats fine
tbh must (all?) random ticks are now dependent on players nearby
so I'm not actually quite sure why spawn still needs to load
I can't login to the server now, which snapshot is it using atm?
spigotcraft? rc1 still
I have here one more issue... I have view-distance: 4 but when I join this empty world it loads 166 chunks... Also in main world with view-distance: 8 I am getting like 8k chunks per 32 players 😄
Speaking of which, did Mojang end up making changes from RC 1 to 1.16
yes that means 8x8 = 64
^
per player
9x9
~
9x9x32 is still not 8k
(╯°□°)╯︵ ┻━┻
bot is being slow so it will be a bit
and 5x5 is not 166 😄
Any chunk loaders? or hoppers keeping things loaded (Does that still happen?)
surely not on empty world with 0 chunks loaded. then I join this world and 166 😄
also no chunk loaders...
and I think hoppers not keeping chunks loaded.. At least on paper
not sure on Spigot
276 chunks now 😄 just staying there 😄
🤬
It does not allow one to install rc1 now, only latest
Yes it does
btw there is rc1 spigot? or its spigotcraft exclusive?
Exclusive
check with md5, he has a onlyfans page
Dang that shop plugin load
So is there no 1.16 spigot release yet? not even a beta?
well I see your running slimefun so that could be an issue
So is there no 1.16 spigot release yet? not even a beta?
@stone hatch https://www.spigotmc.org/threads/spigot-1-16.447014/
@fervent mango I would use paper and what is your view distance set to
did you read the first line in red
world - tickEntities
what is?
eu desativei o salvamento e estou executando comandos pelo painel ptero
I've disabled the rescue and I'm running commands from the ptero panel
every 5 minutes he will execute command
/save-all
Hey
@fervent mango your server is lagging due to a large number of hoppers in a configuration that causes a lot of lag
look for hoppers that are trying to pull from/push into full inventories that are not full (i.e. at least one stack is not at max number)
also, disable hopper functionality in plugins that don't need them (e.g. WorldGuard or Shop plugins. Keep in mind, you might actually need them)
the reason for the lag is a design flaw in CraftBukkit, so to properly fix it you have to pray that it will get fixed in a future update (or use a fork that does have a fix for it)
How can I access a dev version of spigot 1.16?
You can’t
Oh
😦
@vapid kindle ?
do you know how I deactivate the spigot rescue?
save world
?
spigot.yml
?
let's hope a fix for the hopper issue is included in Spigot 1.16. I've submitted a Pull Request for it a while ago, but it hasn't been merged you (probably for backwards compatibility concerns)
the what?
how I get the world saved on spigot.yml
why would you want to disable world saving?
removed
wtf are you even saying
for me to execute the command manually
fr tho
bukkit.yml -> ticks-per.autosave to -1
but why would you want to do it manually as opposed to automatic?
me is 6000000000
before this was generating lag so I moved to the ptero panel to execute the save-all command
now the problem is the entities before was just the world saving
Especially if you're making a fork because if you don't understand how to do that, it's likely you shouldn't be making a fork to begin with
Hi, I'm getting the warning handleDisconnection() called twice and net.minecraft.server.v1_15_R1.CancelledPacketHandleException: null while using player.kickPlayer("Disconnected"); any ideas why is this happening? (I'm executing this from InventoryClickEvent)
you can safely ignore it
So again I say,
if you don't understand how to do that, it's likely you shouldn't be making a fork to begin with
Use your IDE to decipher how that may be done
Use the tools available to you to reverse engineer what is sent to the client
because if you can't navigate bungeecord, you won't be able to navigate your fork
and you won't be able to maintain it reliably
Hi, I'm getting the warning handleDisconnection() called twice and net.minecraft.server.v1_15_R1.CancelledPacketHandleException: null while using player.kickPlayer("Disconnected"); any ideas why is this happening? (I'm executing this from InventoryClickEvent)
I'm working on a public plugin, I don't want to ignore that, I want to make it disappear
catch the exception @languid pewter ?
@frigid ember that doesn't work, I'm still getting handleDisconnection() called twice
i get that all the time, no harm
yea, it might be out your reach then idk
@frigid ember you could search, I searched for 'change version name spigotmc.org' and I found this: https://www.spigotmc.org/threads/how-to-change-version-name.34121/#post-394835
Well, thanks anyway
Np
Well, just search in internet
because I don't know what to do specifically
I'm starting the bungeecord development
try searching only in the spigot site
if you add to the search bar site:spigotmc.org you'll see only results from the spigot site
maybe that can help
Well, I'm working on my own errors, keep searching
@frigid ember this post might help you https://www.spigotmc.org/threads/how-to-change-version-name.62444/
@EventHandler
public void onProxyPing(ProxyPingEvent event)
{
event.setResponse( new ServerPing( new ServerPing.Protocol( "somename", 47 ), event.getResponse().getPlayers(),
event.getResponse().getDescription(), event.getResponse().getFaviconObject() ) );
}
@frigid ember what server version are you using?
anyone know how long until paper spigot 1.16 is out?
try looking this plugin's code: https://www.spigotmc.org/resources/protocolchanger.42310/
?eta
There is no ETA. Having an ETA leads to unrealistic deadlines, false hope, and a bad product. It will be ready when it's ready.
try using the protocol number for the version that are you using
Use the tools available to you to reverse engineer what is sent to the client
Do that
Just look into the bungeecord code
Search the repo
There's a file that has all of the protocol numbers for every version in the bungeecord repo
@frigid ember use this link: https://go.theprogramsrc.xyz/fa0f8
How to get the player damage event
EntityDamageEvent
asd
How to get the player damage event
@hardy cedar EntityDamageEvent
and EntityDamagedByEntityEvent
Is to set quit message to "" blocks it or it sends a space?
hey quick question about the plugin: PlayerPoints. i got plotsquared aswell
and /p is using playerpoints, anyway for me to make plotsquared cmd's higher priority or change the playerpoints cmd alias's?
In 1.16 there is iirc
No 1.12.2
@languid pewter thanks so much it works
@frigid ember That's great! Np
Sorry 1.15.2
Hi, i'm having a bit of the issue with the restart command. I'm running a spigot server on a linux screen, and when i run the /restart command the server will restart without an accessible console in the screen. I have confirmed that the server restarts properly as the process exist. Anyone know how to get the server to restart with an accessible server console running in the screen?
how do i do /disguise it no work
Sorry to add more voices to this thread but I've got a question about server monitoring ( https://www.spigotmc.org/wiki/monitoring-services/)
Is anyone familiar with the use and tradeoffs of choosing a monitoring service like the datadog agent + dashboard (https://www.datadoghq.com/) vs an open source stack like a prometheus server (https://prometheus.io/) + grafana dashboard?
@flint vine I have used a plugin called MobsManager in the past to disable specific mobs and it was pretty good
@flint vine I have used a plugin called MobsManager in the past to disable specific mobs and it was pretty good
@short ruin worldguard flag to global solve issue?
sure, you could do that too
got a problem server icon wont work, It show white only :C
i saw that too on a bungeecord server with viaversion but when i restarted the client is was normal again
could be a client issue
is there at tutorial somewhere on how to update spigot?
well it says mine is outdated
do i need to reinstall build tools as well or just spigot?
wonder how long we will have to wait for
3
3 what
3
Question, is wiping just the nether on Spigot as easy as deleting the world_nether folder?
Yes
Awesome, thanks!
okay, upon launching the start.bat file i get the following message: *** Error, this build is outdated ***
*** Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot ***. That link takes me to the buildtools installation guide, implying that i need to update buildtools, is this correct? i want to make sure i know what im doing before i mess up my server or lose data.
does anyone use Intellij IDE ?
Yup
A lot of people do. You could ask if somebody used BlueJ and surely somebody would speak up
Ask your question
What are you using as a buildtools, maven, gradle, etc..
I assume they used the built in export button
Yeah
I would highly recommend learning how to use maven or gradle. But if you're using the in built stuff look at this stack overflow thread https://stackoverflow.com/questions/1082580/how-to-build-jars-from-intellij-properly
return;
}```
?
how stable is the 1.16 spigot snapshot? is it worth waiting till stable version drops
I would say it is worth waiting yeah
The snapshot isn’t even public
@trim gull you tryna connect to a 1.15 server from 1.16?
``package me.iiAhmedYT;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.entity.EntityDeathEvent;
import org.bukkit.event.player.PlayerDropItemEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.event.player.PlayerRespawnEvent;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin implements Listener {
@Override
public void onEnable() {
getServer().getConsoleSender().sendMessage("§aEnabled GraveLobbyCore by iiAhmedYT");
new WMCommand(this);
}
@EventHandler
public void onJoin(PlayerJoinEvent event) {
event.setJoinMessage("");
}
@EventHandler
public void onQuit(PlayerQuitEvent e) {
e.setQuitMessage("");
}
@EventHandler
public void onDrop(PlayerDropItemEvent e) {
e.setCancelled(true);
}
@EventHandler
public void onDamage(EntityDamageEvent e) {
e.setCancelled(true);
}
@EventHandler
public void onDeath(EntityDeathEvent e) {
e.getDrops().clear();
}
@EventHandler
public void onRespawn(PlayerRespawnEvent e) {
e.getPlayer().getInventory().clear();
}
}``
wtf did i do wrong
THERE IS NOTHING
dude. Use a pasting site.
yes
xd
But yes, definitely a paste site for longer snippets
You didn't register it
wdym by that
getServer().getPluginManager().registerEvents(this, this); should do the job, if you have them all in your main class.
I don't think its good practice to do that tho
getServer().getPluginManager().registerEvents(this, this);should do the job, if you have them all in your main class.
I don't think its good practice to do that tho
thx bud
Yeah don't put all your shit in the main class
also im just practicing im not making a plugin
im new
at java
u know what im sayin-
Im getting this error when trying to use Configuration.contains(). (bungeecord)
java.lang.ClassCastException: java.lang.String cannot be cast to net.md_5.bungee.config.Configuration
at net.md_5.bungee.config.Configuration.getSectionFor(Configuration.java:70) ~[waterfall-1.15.jar:git:Waterfall-Bootstrap:1.16-R0.1-SNAPSHOT:823e465:353]
at net.md_5.bungee.config.Configuration.get(Configuration.java:83) ~[waterfall-1.15.jar:git:Waterfall-Bootstrap:1.16-R0.1-SNAPSHOT:823e465:353]
at net.md_5.bungee.config.Configuration.get(Configuration.java:90) ~[waterfall-1.15.jar:git:Waterfall-Bootstrap:1.16-R0.1-SNAPSHOT:823e465:353]
at net.md_5.bungee.config.Configuration.contains(Configuration.java:103) ~[waterfall-1.15.jar:git:Waterfall-Bootstrap:1.16-R0.1-SNAPSHOT:823e465:353]
... stacks from my plugin```
please ping me if you respond
If your current code is all your plugin is doing, its fine. But if you add more, the main class will become very big and that is just not good.
@dim cape There is no need to post the same thing twice tbh. But it would be helpful to post the part of code that produces this error. There is Configuration#contains and it accepts a String, so im not sure whats wrong there
sorry. Heres that part of the code:java for(String k : d.keySet()) { if(!msgs.contains(k)) { msgs.set(k, d.get(k)); } }
the weird thing is that it works perfectly fine most of the time, but with this value of the config it gives that error, even though it seems like that part shouldnt have anything to do with the value
its valid yaml
aha
it looks like if there is a \n in the value, it gives that error
hey quick question about the plugin: PlayerPoints. i got plotsquared aswell
and /p is using playerpoints, anyway for me to make plotsquared cmd's higher priority or change the playerpoints cmd alias's?
use bukkit's commands.yml
hm
what do i fill in for /p (/plot) being a higher priority than /p (playerpoints) ?
nvm my messages, found the issue. it was an issue with the key after all
@rustic socket set the command to something like plotsquared $1-
been a while since i messed with commands.yml so that might be wrong
Hello, do you know why this comes out?
ServerConnector [test] - encountered exception: net.md_5.bungee.util.QuietException: Unexpected packet received during server login process!
I am trying to connect my Vanilla server to My NetWork and when entering I get that error
¿?
@fossil burrow make sure the server is in offline mode
or whitelist...
It is
@rustic socket something like this under aliases
p:
- "plotsquared $1-"```
from the server ip if you let me in but from the NetWork No
ty @dim cape it made plotsquared higher priority!
The server is already started and everything in offline mode has the alias set in the bungeCord configuration but I throw that error when trying to enter
@dim cape i have found no one called Proximyst talked Lmao
?
oh lol
sorry Proximyst for the ping
idk how that happened
i meant to ping Buy17000
ServerConnector [test] - encountered exception: net.md_5.bungee.util.QuietException: Unexpected packet received during server login process!
1ac7017b227472616e736c617465223a
disable ip forwarding when using vanilla
is \n not supported in messages in bungeecord?
Doesn't that affect the other servers?
Doesn't that affect the other servers?
are other servers Spigot ?
are other servers Spigot ?
In My Network I have 1 Spigot server plus the lobby ...
I use the superior p
wath?
so with the .getString is it only able to be .getString("") or am i able to put ChatColor.translateAlternateColorCodes with the extra parentheses and the getString with "" inside of it
as in will the .getString recognize the "" part with the string name while having the chatcolortranslate and it being in the chatcolortranslate parentheses
player.sendMessage(getConfig().getString(ChatColor.translateAlternateColorCodes('&', "discordlink_message")));
disable ip forwarding when using vanilla
@fleet crane lost connection: If you wish to use IP forwarding, please enable it in your BungeeCord config as well!
El Lobby
theres no way to set ip forwarding per server
alternatively look into VanillaCord if it works for 1.16
I still think that is fixed by waiting for Version Spigot 1.16? If so, I'll wait
yes
is it possible to use \n when sending messages in bungeecord?
let me rephrase that
if i use \n in a hard-coded string, it works, but when i load a string that has \n from a config file, it doesnt work
I'm hosting my own vps server, Is anyone familiar with the use and tradeoffs of choosing a monitoring service like the datadog agent + dashboard (https://www.datadoghq.com/) vs an open source stack like a prometheus server (https://prometheus.io/) + grafana dashboard?
I'm looking for more of a comparison than the suggestions here https://www.spigotmc.org/wiki/monitoring-services/
is there an update for 1.16 yet ?
Spigot 1.16 is in development with no release date. It'll be out when it's out.
lmao
"Syntax error, insert "}" to complete ClassBody"
Yes
@hardy cedar not a valid argument against java lol, brackets are love, brackets are life
xd
now i changed my code
to
make it on another class
and the main one must enable it
but doesnt work
fudge
You didn't just add anoyher bracket?
yes
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin implements Listener{
@Override
public void onEnable(){
getServer().getConsoleSender().sendMessage("§aEnabled GraveLobbyCore by iiAhmedYT");
new Basics(this);
new WMCommand(this);
getServer().getPluginManager().registerEvents(this, this);
}
}```
How i get diferent types of Logs? Only have LOG and LOG_2
no console errors
(1) update (2) log had 4 data values for the base logs, log_2 had 2 data values for dark oak and acacia
In the screenshot you showed, you're missing a bracket for the class @hardy cedar
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.entity.EntityDeathEvent;
import org.bukkit.event.entity.FoodLevelChangeEvent;
import org.bukkit.event.player.PlayerDropItemEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerQuitEvent;
import org.bukkit.event.player.PlayerRespawnEvent;
import org.bukkit.event.weather.WeatherChangeEvent;
public class Basics implements Listener {
public Basics(Main main) {
}
@EventHandler
public void onJoin(PlayerJoinEvent event) {
event.setJoinMessage("");
}
@EventHandler
public void onQuit(PlayerQuitEvent e) {
e.setQuitMessage("");
}
@EventHandler
public void onDrop(PlayerDropItemEvent e) {
e.setCancelled(true);
}
@EventHandler
public void onDamage(EntityDamageEvent e) {
e.setCancelled(true);
}
@EventHandler
public void onDeath(EntityDeathEvent e) {
e.getDrops().clear();
}
@EventHandler
public void onRespawn(PlayerRespawnEvent e) {
e.getPlayer().getInventory().clear();
}
@EventHandler
public void onHunger(FoodLevelChangeEvent e) {
e.setFoodLevel(20);
}
@EventHandler
public void onWeatherChange(WeatherChangeEvent e) {
e.setCancelled(true);
}
}```
I use spigot 1.8.8
hello
hi
someone can help me whit my perms in one server
In the screenshot you showed, you're missing a bracket for the class @hardy cedar
@opal bay i fixed that part (:
Now whats the error?
i dont know how i can put permission of commands to my users
now the new class doesnt work
@granite skiff what perms plugin are you using
are not using xd
@subtle blade can you show me a example for on block break event check the Log type?
i dont know how i
Bruh
xd
okay
They have documentation
did you register events? In the main class I can see you registered events for that class but not for the class Basics
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin implements Listener{
@Override
public void onEnable(){
getServer().getConsoleSender().sendMessage("§aEnabled GraveLobbyCore by iiAhmedYT");
new Basics(this);
new WMCommand(this);
getServer().getPluginManager().registerEvents(this, this);
}
}```
thats the main class
Nowhere good
getServer().getPluginManager().registerEvents(this, new Basics(this));
or opposite way around, not really sure
Yes
whats the error?
The method registerEvents(Listener, Plugin) in the type PluginManager is not applicable for the arguments (Main, Basics)
now i have the last question for tonight (its 3:30 am for me )
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class WMCommand implements CommandExecutor {
public Main plugin;
private boolean warmodeEnabled;
public WMCommand (Main plugin) {
this.plugin = plugin;
plugin.getCommand("warmode").setExecutor(this);
warmodeEnabled = false;
}
@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if(!(sender instanceof Player)){
sender.sendMessage("§cOnly Players can do that command!");
return true;
}
Player p = (Player) sender;
if(p.hasPermission("gravemc.admin")) {
if (warmodeEnabled) {
warmodeEnabled = false;
} else {
warmodeEnabled = true;
}
p.sendMessage("This command is under development!");
return true;
} else {
p.sendMessage("§cOnly Admins and higher can run this command");
}
return false;
}
}```
can i allow specific events on enable and allow specific other events on disable
Not sure what that means
Oh no, please don't use the constructor to register stuff
override the onEnable and onDisable methods of the JavaPlugin class
oh sorry misread your code
lol
public void onDamage(EntityDamageEvent e) {
e.setCancelled(true);
}``` for example this event
3am for me too
can i disable it onEnable?
No
have u heard of hypixel's warmode?
You need to listen to each individual event and cancel it.
You can do it in the onEnable with an inner class, but it's still the same thing.
You have to listen to each event and cancel it.
get that warmodeEnabled boolean in event and set cancelled accordingly
Hello! My cratesplus is not working..
just to give you an idea, i just tiped the code on paste.lucko.me without validating it lol
take it just as "pseudo-code" hahah
Hello! Can someone please help me with cratesplus.. I can send the config file if needed.. For some reason, im getting an internal error because i messed with the config file.. If anyone could help, this would be amazing!
there
@hardy cedar ok, polished it a bit lol https://paste.lucko.me/1fTnWb5ZvE
thats when I try to do any command
sgdc i believe he wants it to be a toggle for the whole server, not per player
you didnt share the paste, aura
An internal error occured while attempting to perform this command
it was that thing
wait
do u want me to send the whole config file?
uh, lol, then it's simpler
@quartz heron
Aura, use the website Husky linked you. Paste it in, and then link the paste here.
was there an error in console when you typed that aura
I tried doing /cratesplus on my server
@hardy cedar my bad, that's what you requested: https://paste.lucko.me/Lj9JAMXGt1
then it said An internal error occured while attempting to perform this command
yes but was there an error in the console when you typed that?
thx @quartz heron @icy dragon ❤️
no not at all
and gg paste.lucko didn't save the changes...
Is the red bit an error?
doesnt have to be red but its big and ugly usually
Ok, the paste site is broken
If I may poke my nose in again - Aura's config file is valid yaml, according to a parser I checked. So it's not an issue of there being a tab or anything within it.
It would probably be more helpful if you shared a snippet of the console log, when the "internal error" happened.
@icy dragon
plugin.getPluginManager().registerEvents(plugin, this);
is broken
also use https://pastebin.com/ may help 🙂
Ok, done: https://paste.lucko.me/xgGWhgGkxg
whoops, replace the last !warmodeEnabled with warmodeEnabled 😉
ok i'll never again try to code something outside of an ide ahahaha
just event.setCancelled(warmodeEnabled); :O?
no, that would break other plugins cancelling that event
i suppose
but in my code I added (ignoreCancelled=true) in the event handler annotation, so it would be fine
but it's nicer to never call setCancelled(false)
it should never be used in normal operation, a cancelled event should stay cancelled lol
@icy dragon uhh when WarMode is enabled it must made it not cancled and if its enabled must be cancled
.,_.
whoops, replace the last !warmodeEnabled with warmodeEnabled 😉
Hi
you're welcome @hardy cedar
How i put permissions in essentials?
Do you need to give users permissions? Is that what you mean?
You need a permission management plugin for that, i suggest you LuckPerms or PermissionsEx
Personally i prefer LuckPerms, it has many features and a simple web editor 🙂
Essentialsx it's not good? Xd
EssentialsX just adds commands and features, it doesn't include a permission manager
You need to have both
- you probably want to install also Vault, which allows essentials to integrate with permission managers with more features
yes
And i'm doing a rpg server xd
Does vault improve performance?
no but it just doesnt effect it
Whit the plugin hero and lorinthsrpgmobs
Ehm no, Vault only adds a way to plugins to comunicate between different permission managers in a simple way
it's a sort of "dependency"
I have luckperms
Oh I only use one manager so not much of a point I guess Thanks
vault is basically middleware for other permission managers
lol
Hey sgdc3
Lol I started with a 1.4.7 server running on a crappy old pc at my home, now I have 3x 128gb ram dedicated servers with overclocked cpus hahaah
Now how i put perms un luckperms?
you should use the webeditor
Just google a tutorial
in the server terminal do /lp editor and paste the link into a web browser
also read the wiki
/lp editor
.-.
Yes i know
But MC isn't a common server load
usually server applications take advantage of multiple threads
MC is a single thread application
So you need high clock speeds
Not really, the game core is still a single process
The famous "TPS" counter depends on the main thread of the server ahhaa
Java can be used has multi cores user but you need to enable some feature with argument
No, i've seen paper use 400% sometimes
But still, it doesn't take any advantage from 8+ core cpus lol
Still rare server are using more than one core with those 5 y/o cpu
I mean thats totaly rare
MC is a single threaded application, you can't just tell him "ehy, use more cores"
Only when you start up the server ok its way better but in normal use...
Btw current cpu dispatch load arround....
Kinda forcing multi cpu usage
MC's code is just unable to take advantage of multiple cores for gameplay mechanics, the only offthread tasks that were moved outside of the main thread is chunk loading
@gleaming helm yeah you're right, but cpus with < 8 cores are very rare nowadays
Well if we speak rawr fonction and perf with a spigot server the answer is the same
i dubt you'll ever run more than 8/10 large mc instances in a single server
if you have smaller instances then it makes sense to use a cpu with more cores
Sgdc3 lets tell you ovh offer some good soyoustart server for afordable price and can run with smooth performance
Currently using pterodactyl working like a charm
I think I never used spigot outside of testing environments in 3 years
When i say spugot i mean paper but yea... For logic reason here im not going to recommand paper if you dont know what you are speaking of
@velvet jasper SYS sells old OVH servers, it is a good solution for new servers
For real depend of the component
Ru just blind?
Its like saying ebay is trash
If you plan to do all yourself why not
SYS is a good starting point
I never loojed sys can i got link?
but i would suggest anybody to upgrade to OVH asap lol
yep, good arguments @gleaming helm
They are more affordable for what you use
but as I said, it's just a temp solution
I mean im using a vps for storage and a sys for main server and network and google cloud for backup
And last one is a server at home behind the network
what the player placeholder is?
@fallen field papi?
%player%
ehm nope
it isn't @p
@r prety much the same
{player} or %player% right?
What does invoke the command? @fallen field
What are you speaking of if its not
I can't get it to work
Whats your usage
you mean what executes the command?
A plugin? A command block?
Fron wich plugins
a plugin
Which one?
Wich one
wait here
Omg
🤦
I can't recall what I did lol
"Compatible with PlaceholderAPI."
You got a Wiki for it
for the other things
Did you download the placeholder player?
%player_name% if it uses PAPI
yep remember to download the papi player expansion
and remember to reload papi (/papi reload)
yea I did
Yea but mind about realoading papi can break some display
it did break
Just use /plugman reload PlaceholderAPI
Ok but maybe something is wrong with your citizen text
good thing i have plugman
JOCKING
I'll test it out again
Use %player%
Im using plugman for debug only
When a plugins do crap and im not able to find which one is causing the issus
%player% isn't a valid PAPI placeholder, if it works it's a placeholder replaced by CitizensText itself
hmm, what do you mean?
man sorry but you are on the wrong place not sure if you ill be correcly answered
👀
A little showcase of what I've been up to
pay close attention to the NMS code in these two screenshots
@jaunty night nms code generation at compile time?
"Compatible with Placeholder API"
@jaunty night nms code generation at compile time?
@icy dragon I used Minidigger's Toothpick to create some obfuscation mappings that allow conversion from mojang -> spigot
and I coded a little gradle plugin that converts it at compile time
So you need to use papi for what you want to
okay thanks Dryter
It's all converted locally my friend
@jaunty night nice, but isn't it a pain to keep updated?
CratesPlus is now just not responding. people with /op can use the crates but people who are not op can not use it. Anyone know why please?
every nms version change will require new mappings to be introduced in your api
It's actually not, with the use of Lorenz it's pretty easy to automatically generate mappings
Cross version compatibility your giving up when your using NMS
@hardy cedar essentialsx has a spawn on join option at the end of the main config
nah i mean in event
Not if you use a multi module project
CratesPlus is now just not responding. people with /op can use the crates but people who are not op can not use it. Anyone know why please?
it is very painful to maintain, but it works lol
is it possible to get world spawn through spigot?
Yeah, currently this is in a proof of concept stage. To generate the mappings it grabs spigots mappings and mojang mappings and combinds them. This is all done automatically and it works really well.
To convert the jar I use a tool called Atlas
I still have to iron out a few errors and bugs before I release it but it works pretty well.
@hardy cedar no, you have to use a plugin
oh crap, just realised I was posting in #help-archived
I thought I clicked #general I'm dumb
Yeah i was a bit confused ahaha
CratesPlus is now just not responding. people with /op can use the crates but people who are not op can not use it. Anyone know why please?
perms configured correctly?
probably you need to give users some permission nodes
I was thinking it had something to do with the server properties for the spawn
but idk how to edit that
:(
@icy dragon
how would i detect someone dropping an item by pressing Q on their hotbar
So im using Hostinger as a Multicraft host, cant find any help online as to how I can update my server. I've even made a totally different server (whilst saving the world file as backup) and it's like stuck on 1.15. Anyone else use Hostinger?
im using InventoryClickEvent for in the inventory
@leaden glen you need a new jarfile. if you're using spigot there's no release for 1.16 yet i believe
@grizzled hound Thanks for the response!
I've downloaded the official MC 1.16 jar file and put it in the hosted server's files, making that the 'startup' jar file in the options, however the console still keeps saying "Starting 1.15.2 server".
It's as if im only allowed to run this kind of server because ive literally started a completely new server from them, only to say 1.15.2
honestly idk
although its not really spigot-related at that point
how would i detect someone dropping an item by pressing Q on their hotbar
Is there a common/recommended way to update yaml files on plugin update with new values (keeping previous values) etc without removing comments from the file?
Command Blocks / OP / LuckPerms; is there a way to give people access to command blocks without them getting every damn permission?
I was thinking op-permission-level=2 and function-permission-level=4 in server.properties but I am unsure.
@grizzled hound I ended up changing the jar directory location to a computer-based.jar location. If using their server it kept replicating a 1.15.2
Yeah sorry it ended up not being spigot related, my bad! But luckily i figured it otu. Thanks!
Sure
You need ProtocolLib @frigid ember https://www.spigotmc.org/resources/protocollib.1997/
^ beat me to it
;)
great thanks
👍🏼
Well realistically @gleaming helm I'd like to be able to OP people at lvl 2 without them gaining permissions to access things protected by LuckPerms/Spigot/Bukkit.
I just stated what I was trying to do. Are you blind?
I never said that.
What? I'm literally saying that's what I want?
Er let me rephrase
I'm literally saying I do NOT want OP's to receive every permission.
That's what I currently do, but I'm looking at possibly changing that, thanks for your input.
I basically explained it before. But I guess I can give it a shot again. I'd like to be able to give a player access to command blocks without it giving additional unintended permissions.
How do you get the smelted version of an itermstack
Command blocks require op lvl 2.
James my man, just educate yourself please.
Hence why I'm asking for assistance?
You are receiving assistance.
there is no way to regulate what commands go through command blocks iirc
like kevin said, a really fucking terrible idea
Yeah, but unlike you he didn't explain that aspect.
"there is no way to regulate what commands go through command blocks iirc"
You're just aggressive and unhelpful.
Yeah I'm not sure either.
Yeah the user I planned giving it to I trust, but not as much to give them every single permission to every plugin.
Yeah, I would have hoped you could prevent OP giving out permissions in bukkit with that function-permission-level in server.properties
I was just hoping someone who had done it would know.
Oh I understand completely.
The fact the vanilla perms are so poor annoys me
I mean in order to use command blocks one has to be both creative and OP
The reason I'm asking the question is because I'm not crazy. I'm being careful before giving out permissions.
I tested it first, and will test a few more things before doing anything.
Was just hoping someone else knew a solution, which may not be the case.
There are workarounds, I am investigating multiple options. What I'll probably end up doing is adding the config to the blocks myself so I can vet what he is doing.
I was just hoping I didn't have to do it that way is all.
so quick question, why do you want people to use the command block at all?
Well he's using it for an arena. Players randomly get spawned to locations. They gather powerups / items / etc.
The command blocks are useful for the /spreadplayers command, giving the powerups, items, etc.
Well that's another avenue, but I prefer less plugins as updating can cause complications.
how long does it normally take for spigot to update to the latest version? (ik 1.16 just came out just wondeirng)
ik just wondering how long it takes on average if anyone knows from like 1 14 1 15 ish but yeah ig
Well, if you look for the 1.15 vanilla release date, and 1.15 spigot release date you may get an idea.
Of course, that's why I said an idea.
Hello is this channel for plugin support?
Not specifically, usually plugins have support info in their description.
but I'm trying to code my own plugin as a newbie
Ahh that kind of support. I guess maybe?
Ok
do i need to pick a role to get pinged for updates?
doesnt seem like thats a thing
ohh wait, can't paste picture here?
I'm pretty sure you can post pictures
I'm trying to create a GUI with spigot API, when player clicked the menu inventory the event will be cancelled
?
but when I move the item from the GUI inventory to my own inventory quickly it sometimes work
@iron cradle it's easy to do that what part do you need help with?
so players can copy item from the GUI
is there any solution?
I don't know sorry, I am new to plugin development
I'm trying to create a GUI with spigot API, when player clicked the menu inventory the event will be cancelled
if youre trying to create gui menus for yourself
What method are you doing?
i'd recommend just using existing plugins
public void inventoryClick(InventoryClickEvent e){
if(e.getView().getTitle().equals("menu")){
e.setCancelled(true);
hello respond mee ???
@drifting lichen I just want to learn XD
What click method bypasses it?
You mean how do I move it? I use left click to take the item then move to my own inventory, sometimes it worked
but sometimes the event was cancelled
That is just a visual glitch most likely
It's in my own inventory afterwards?
Click the item again if it disappears then it is just a visual glitch
oh I tried, after I click the item in my inventory it takes the action I coded in my plugin
oh another time it just moves in my inventory following my cursor...
the item taken from the GUI is a pearl , it works perfectly that it should not be a visual glitch...
can someone turn my source file into a jar
Hey, im am currently using a Bukkit task timer, and trying to cancel the task,
final BukkitTask time;
time = Bukkit.getScheduler().runTaskTimer(plugin, () -> {
But i cant cancel it due to the variable time not being initialized, or i make the time final and it still hasnt been initialized... To cancel it i was using time.cancel(); But of course that didnt work due to the reasons i just posted... Any help would be appreciated!! Thanks!
Look into BukkitRunnable instead
@fleet crane Ive done this before, but i feel like spigot should have a way to do this... Btw great to finally talk to you! Ive always wanted to know some of the people behind Spigot!
What IDE are you using to write the source file?
you can use thje lamba method that takes a Consumer
well the thing is i found a src but theres no download for the jar
so i have to export to jar
Bukkit.getScheduler().runTaskTimer(plugin, (time) -> {
??????
@fleet crane Ive done that, but how would i then cancel it?
@slate ocean Yes, you have to take the source file, then compile it into a JAR
so how do i do that
time.cancel ?
Hey, im am currently using a Bukkit task timer, and trying to cancel the task,
final BukkitTask time; time = Bukkit.getScheduler().runTaskTimer(plugin, () -> {But i cant cancel it due to the variable
timenot being initialized, or i make thetimefinal and it still hasnt been initialized... To cancel it i was usingtime.cancel();But of course that didnt work due to the reasons i just posted... Any help would be appreciated!! Thanks!
@hot scroll
??????????????????????????
Ive tried that
What dev tools do you have @slate ocean ?
Bukkit.getScheduler().runTaskTimer(plugin, (time) -> {
nothing thats why im asking if someone can do it for me lmfao
I added a time to the lambda
@fleet crane Ah, alright Thanks! Ill try that out!
Chestly and md_5 are in a separate conversation fyi
is it a bungee or spigot jar
Looks like Spigot from the pom.xml
@fleet crane Great thanks so much! Never thought of that!
@fleet crane Any chance you could send me where its documentation? Its not clear that the lambda passes BukkitTask
Also if I may suggest next time you are confused, try saying what you're confused about rather than putting a bunch of question marks, it helps the other person trying to help you @slate ocean
@fleet crane Where does it say that (Bukkit.getScheduler().runTaskTimer(plugin, (time) -> {) the bukkit task is passed back?
its put in the consumer
unfortunately the method doesnt also return it
your alternative is BukkitRunnable
Sorry, miswording, meant to say Its not clear that the lambda passes BukkitTask
But thanks!
Really love Spigot, Btw are you still an active Dev in it?
why should we use waterfall instead of bungeecord
is there any overwhelming reason to use waterfall?
prettier name
let's be honest lilypad is way more complicated to set
it even requires per server plugins
that's
I checked waterfall repo it's still updating
can be played in private or sumthing?
is there a script that can allow access for commandblocks for players in survival?
probabily i dunno
Commandblockpermission plugin can help you mb
I run 1.12
Oh sorry i don't know
bungeecord
no
1.16 server jar?
no?
?1.16
Spigot 1.16 is in development with no release date. It'll be out when it's out.
Ok thank you
Is there any good config file management for Bungeecord?
I mean. Only providing the config file when its not there isnt good.
Because how should i make config upgrades?
I'm having an issue with ItemStack creation and storage. I have an ItemStack wrapper with a bit more information -- class GUIItem -- that takes in information about an item and creates/stores an ItemStack per the description. https://hastebin.com/ajoliwukor.cs
I have a GUIItem created in another class using the declaration protected static final GUIItem BLANK_ITEM = new GUIItem(Material.BLACK_STAINED_GLASS_PANE, "blankitem", " ");
When accessing BLANK_ITEM.getItem() -- which should return an ItemStack -- this instead returns null. Any help I can get here?
I've tried to use IntelliJ's remote debugging feature to look for any culprit, and I haven't found any rogue instances of the itemstack being modified or set to null
Where/when is BLANK_ITEM accessed?
BLANK_ITEM is accessed whenever a specific command is ran. I create a GUI and add items into that GUI - when I don't have an item to put into a specific slot, BLANK_ITEM is put in that slot instead.
protected void addItems(Inventory inv){
for(int i = 0; i < items.length; i++){
GUIItem item = items[i];
if(item==null) {
if(useBlankItem) {
inv.setItem(i, BLANK_ITEM.getItem());
}
}
else{
inv.setItem(i, item.getItem());
}
}
}```
I'm positive that the item is (suddenly) null as despite me adding all these items to the GUI, the GUI turns out empty: https://okgabe.com/i/wu1V9QzDCF.jpg
Not to mention debugging showing the item is null
Is there ever a point where you can debug and not get a null result?
Not at all
I even just commented out all the parts related to editing item meta to no avail
I've tried re-creating the item whenever GUIItem#getItem() is called and the item is null - this results in what I think would be an infinite loop (this bugs out, eventually everything in the class turns null for no apparent reason, and the stack trace just shows question marks instead of line numbers)
I haven't been able to get a working item (I also have 4 other items being set up and used as I've seen - these are also null.)
That's really odd. Only thing I might suggest would be to create the ItemStack prior and pass it in. It honestly should have no effect on how it operates, but that's all I'm thinking of at the moment
I'll try that real quick
Did you re-build your plugin, put the new jar in your server plugins folder, then restart your server
Try adding a print statement to the start of your plugin and see if that new statement is displayed so you ensure your new code is actually being used
Sure, onEnable
masha allah
Where is that code located
You need to have the API command defined in your plugin.yml
BLANK_ITEM is accessed whenever a specific command is ran. I create a GUI and add items into that GUI - when I don't have an item to put into a specific slot, BLANK_ITEM is put in that slot instead.
protected void addItems(Inventory inv){ for(int i = 0; i < items.length; i++){ GUIItem item = items[i]; if(item==null) { if(useBlankItem) { inv.setItem(i, BLANK_ITEM.getItem()); } } else{ inv.setItem(i, item.getItem()); } } }```
@abstract grove material.air?
If it’s a command from another plugin you should be using an instant if that plugin
Rather than this
never heard of BLANK_ITEM
What exactly do you mean @frigid ember
What is BLANK_ITEM?
BLANK_ITEM is the name of a GUIItem
There's GUIItem
And here's BLANK_ITEM protected static final GUIItem BLANK_ITEM = new GUIItem(Material.BLACK_STAINED_GLASS_PANE, "blankitem", " ");
Holy shit, @alpine lion, update - what you said has worked for whatever reason, making the ItemStacks in a different class
I'm dumbfounded honestly
All I did was move it to another class and reword the code :/
Lol
for what
spam D:
nothing, bored, thanks tho
InstanceOfOtherPlugin.getCommand("api").setExecutor(Whatever);
Executor is whatever class you wrote the code to handle the command
You should have a class that extends CommandExecutor
The onCommand method is overridden in the CommandExecutor
That's what handles the command itself
In the class declaration public class Exec {
Add extends CommandExecutor before the curly brace
Yup
How can a class extend an interface @alpine lion ?
Should be an implements
He was talking to robert
Keep the extends
The onCommand is added and that is what you use to run the command
So put your cursor on it and do Alt+Enter and see what it pulls up
Lol. I guess it is implements then 😂
The executor should honestly have its own class
@fossil shoal you should use implements to implement the interface.
Yeah I know that
When you register the executor, that tells Spigot that when x command is run, use this class and run the onCommand method
So whatever you want to do with the command should be in the onCommand inside the executor class
What do you need help with then @fossil shoal
What's the error?
I don't need help, I just saw that you told someone else to add extends CommandExecutor, and I mentioned the mistake in a form of a question
Oh lol
If it's throwing an error on a curly bracket, then your compiled code does not match your written code. Are you sure that it's building successfully?
did you do the getCommand(..).setExecutor() and stuff and made sure that the command is in plugin.yml
wdym
?1.16
Spigot 1.16 is in development with no release date. It'll be out when it's out.
?eta
There is no ETA. Having an ETA leads to unrealistic deadlines, false hope, and a bad product. It will be ready when it's ready.
Spigot 1.16 is in development with no release date. It'll be out when it's out.
is there any nhentai plugin?

is there a way i can cannot from my server to something like hypixel
Hey, I've been running a vanilla server for me and my friends, we are normally 3~ people playing at once. It's a rather cheap server (1GB) and we get a bit of lag. I was wondering if Spigot will help since it says its more optimized? The server generally runs perfectly fine until someone starts exploring and rendering new chunks. Render distance is set to 6, autosave is every 10 minutes, and server restarts once a day.
Also, we have a few datapacks but not anything too crazy. Stuff like portal coords and coordinate HUD
it will help but i think paper would be a beter option for you since paper is very lightweight
I'll look into that, thanks. Does that also support plugins?
yes
Not sure if I will add any, I just want better performance
yes (its a fork of spigot)
Ok, cool
Idk if I can find Paper on my server manager so I might have to add the jar manually?
maybe whats you server manager?
"PaperMC/PaperSpigot" Is that it? I'm using Shockbyte
probaly so
yes
Awesome ty
I'm not sure how good Shockbyte is, I saw some good comments about it on Reddit. I used to use MCProHosting but they changed their plans and its incredibly overpriced now.
Thank you!
Shockbyte has been good so far except for the website being extremely slow to load, but idk if that's my fault or theirs
Shockbyte is cheaper
Their 6GB is 15$/mo
Here is why MCProHosting sucks now: Their cheapest Minecraft plan is 7.50$/month and only gives you 1GB. On Shockbyte their 7.50$ plan gives you 3GB. Such bullcrap lol
I was so mad when I saw they changed it cause they have a really good mobile app to manage the server, I was so disappointed
but yea ty, I will try Paper when it releases for 1.16 🙂
Where can I watch for the update?
Spigot 1.16 is in development with no release date. It'll be out when it's out.
I'm just asking where I can follow to see when its announced
?kick @frigid ember
👢 Kicked abhi255#4492
What just happened
why?
Go to #announcements or the spigot. Org website
does spigot have api i mean forums
Ty, I was asking though because it said Paper was an unofficial Spigot branch so I assume they have their own place for announcements
just check paper commits if you need updates
hey guys, if i drop an item and then i apply velocity to it, how can i make it "fly" for evever, without stopping?
oh
i think that doing this by an infinite loop is a bad idea
you need to substract the location then extract to vector
- normalize
to be able to correct itself at that point
no
loops are bad
use a schelduer
stop flooding-
Can someone help me with a plugin ?
Hi guys, i have a small question: In 1.8.8, is there a glowing effect for players llike in 1.12.2 or something like this?
Can someone help me with a plugin ?
what do you need?
i want to make a shaped potion recipe
you can view this so https://bukkit.org/threads/how-to-make-custom-crafting-recipes.301328/
no this is custom crafting recipe
so a custom potion?