I'm making a bungeecord plugin that integrates with a website to log banned players, but i need to check if a player was banned. Because there's no such thing as a ServerBannedEvent i need to use ServerKickEvent and check if e.getPlayer() is banned.
↧
Check if player is banned?
↧
Packet lobby (Limbo)
I was thinking on how i could implement a limbo server for when the server is full, or the fallback servers (hubs) are unaccessible. The way i thought of implementing this is to create a fake ServerInfo where i would send the players if conditions are met. Then,i would send chunk data to the player and then make a runnable that sends keepalive packets to the players
What Should it do:
Look as a normal world to players and let them sit there while lobbies are back up, or slots go...
Packet lobby (Limbo)
What Should it do:
Look as a normal world to players and let them sit there while lobbies are back up, or slots go...
Packet lobby (Limbo)
↧
↧
Error when trying to implement BungeeCord config API
Hi there,
I'm trying to implement the BungeeCord Config API, using this piece of code, but when I to do it, it shows me this error:
even though the second class hasn't even been imported, only the first one.
How can I fix this?
Thanks in advance.
I'm trying to implement the BungeeCord Config API, using this piece of code, but when I to do it, it shows me this error:
![[IMG]](http://bitcoin.is-serious.business/d16834.png)
even though the second class hasn't even been imported, only the first one.
How can I fix this?
Thanks in advance.
↧
setCancelled true help
Code (Text):
package me.alessio2010.playerlevels;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
public class MobKillsMenu implements Listener{
SettingsManager settings =...
↧
Bungeecord API error in console
Can someone help with my bungeecord api error?
It is to get the player count from a server.
25.02 22:48:52 [Multicraft] Skipped 820 lines due to rate limit (30/s)
25.02 22:48:52 [Server] WARN Could not pass incoming plugin message to WalnootAPI v1.0
25.02 22:48:52 [Server] INFO java.lang.IllegalStateException: java.io.EOFException
25.02 22:48:52 [Server] INFO at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:449)...
Bungeecord API error in console
It is to get the player count from a server.
Code (Text):
25.02 22:48:52 [Multicraft] Skipped 820 lines due to rate limit (30/s)
25.02 22:48:52 [Server] WARN Could not pass incoming plugin message to WalnootAPI v1.0
25.02 22:48:52 [Server] INFO java.lang.IllegalStateException: java.io.EOFException
25.02 22:48:52 [Server] INFO at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:449)...
↧
↧
Get the IP the player used to connect
Hey,
I am currently trying to make a plugin to find out which IP address a player used to connect to the server. I have already found out that there is a way with protocols: http://wiki.vg/Protocol#Handshake
However, I don't know how I could then integrate it into Bungeecord. Is there possibly another method that does this for you in bungeecord?
I am currently trying to make a plugin to find out which IP address a player used to connect to the server. I have already found out that there is a way with protocols: http://wiki.vg/Protocol#Handshake
However, I don't know how I could then integrate it into Bungeecord. Is there possibly another method that does this for you in bungeecord?
↧
ProxiedPlayer Name / UUID changing
Since Bungeecord is a Proxy and it sends players to servers in offline mode, I thought to myself that maybe you would be able to change the player and basically give them a nickname.
I know there's other threads about this, but there is not a clear answer about how to do it yet.
Thanks!
~D0an
I know there's other threads about this, but there is not a clear answer about how to do it yet.
Thanks!
~D0an
↧
Wrong section
Sorry, I made a mistake xd
↧
BUNGEECORD HACKEADO
Hola comunidad Minecraft español .Cómo tanto español y estadounidense. Quisiera que me ayudaran a configurar un firewall para mí BungeeCord .
Tengo una network, lo eh protegido de mil maneras con plugins para evitar posibles hackeos ya que eh escuchado que existe un nuevo ByPass ipwhitelist! Un launcher supongo que permita acceder a los servidores con la cuenta del creador y así griffear. Eh escuchado algo de la IP 0.0.0.0, y BungeeHack. ¿Que opinan ustedes? Ya está visto videos de un...
BUNGEECORD HACKEADO
Tengo una network, lo eh protegido de mil maneras con plugins para evitar posibles hackeos ya que eh escuchado que existe un nuevo ByPass ipwhitelist! Un launcher supongo que permita acceder a los servidores con la cuenta del creador y así griffear. Eh escuchado algo de la IP 0.0.0.0, y BungeeHack. ¿Que opinan ustedes? Ya está visto videos de un...
BUNGEECORD HACKEADO
↧
↧
Bungeecord API isn't working.
Can someone help the Api isn't working and I got no error in console did I something wrong?
Bungeecord API isn't working.
Code (Text):
@EventHandler
public void onClick(InventoryClickEvent e) {
Player p = (Player) e.getWhoClicked();
if (e.getInventory().getName().equalsIgnoreCase("Server Selector")) {
e.setCancelled(true);
if (!(e.getCurrentItem().getType() == Material.AIR)) {
String itemName = e.getCurrentItem().getItemMeta().getDisplayName();...
public void onClick(InventoryClickEvent e) {
Player p = (Player) e.getWhoClicked();
if (e.getInventory().getName().equalsIgnoreCase("Server Selector")) {
e.setCancelled(true);
if (!(e.getCurrentItem().getType() == Material.AIR)) {
String itemName = e.getCurrentItem().getItemMeta().getDisplayName();...
↧
JDA Error
Hello i have a weird JDA error. JDA is an API for discord. this is the error ![[IMG]]()
https://gyazo.com/2cde1ae955a5d6f6fc8e183bc3350533
this is my main class
JDA Error
![[IMG]](http://gyazo.com/2cde1ae955a5d6f6fc8e183bc3350533.png)
https://gyazo.com/2cde1ae955a5d6f6fc8e183bc3350533
this is my main class
Code (Text):
package me.NiekGC.NiekGCBot;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;...
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;...
↧
Two strings related in an Arraylist
Hi, I'm creating a plugin for my bungeecord but I have a question about it.
I'm already using an Array list so when a player used an specific command their uuid is added, I want to know if there is anyway to add two "values" in the Arraylist. For example:
Arraylist<name, prefix> = new Arraylist();
So when a player uses the command, it's name and a value or string I define where add at the same level. So when I get the name of the player I also get the value that was added, in this case...
Two strings related in an Arraylist
I'm already using an Array list so when a player used an specific command their uuid is added, I want to know if there is anyway to add two "values" in the Arraylist. For example:
Arraylist<name, prefix> = new Arraylist();
So when a player uses the command, it's name and a value or string I define where add at the same level. So when I get the name of the player I also get the value that was added, in this case...
Two strings related in an Arraylist
↧
Calling an event in onDisable()
Is this even possible? It doesn't seem to work
Code (Text):
public class BasicPlugin extends JavaPlugin {
@Override
public void onEnable() {
}
@Override
public void onDisable() {
Bukkit.getPluginManager().callEvent(new PluginDisablingEvent(this));
}
}
@Override
public void onEnable() {
}
@Override
public void onDisable() {
Bukkit.getPluginManager().callEvent(new PluginDisablingEvent(this));
}
}
↧
↧
Priority of loading
Hello, I'm creating one plugin and I need this plugin load as first.
Because other plugins depend on it. And they communicate with it since they are loaded.
Is there any way how to solve this problem?
Thanks
Because other plugins depend on it. And they communicate with it since they are loaded.
Is there any way how to solve this problem?
Thanks

↧
Best BungeeCord Votifier plugin?
Hello!
So this is my first time working with any type of voting stuff, so I really just need some directions.
I am looking for a SECURE voting listener plugin/api, that will basically give me what information is given whenever a player votes. I don't need it to do anything else but act as an API. Thanks for the help guys!
So this is my first time working with any type of voting stuff, so I really just need some directions.
I am looking for a SECURE voting listener plugin/api, that will basically give me what information is given whenever a player votes. I don't need it to do anything else but act as an API. Thanks for the help guys!
↧
Error on creating files
Hello, My plugin dont want to load because he will not generate the config files.
Error:![[IMG]]()
https://gyazo.com/8f9728d5114961ecc90f86c13ae52388
Main Class:
Error on creating files
Error:
![[IMG]](http://gyazo.com/8f9728d5114961ecc90f86c13ae52388.png)
https://gyazo.com/8f9728d5114961ecc90f86c13ae52388
Main Class:
Code (Text):
package me.NiekGC.CreepAntiBot;
import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import javax.security.auth.login.LoginException;
import...
import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import javax.security.auth.login.LoginException;
import...
↧
getPluginManager().detectPlugins(folder) "NullPointerException"
I tried to use this method many times and I can't get it to work. What I want to do is load a list of plugins inside a folder, but it doesn't. It returns a "NullPointerException", line 354 of this class: https://github.com/SpigotMC/BungeeC...net/md_5/bungee/api/plugin/PluginManager.java
I don't give info about my own class because it happens with all folders: default plugins folder, custom folders, etc. I guess it's because BungeeCord can't read the...
getPluginManager().detectPlugins(folder) "NullPointerException"
I don't give info about my own class because it happens with all folders: default plugins folder, custom folders, etc. I guess it's because BungeeCord can't read the...
getPluginManager().detectPlugins(folder) "NullPointerException"
↧
↧
Startup script for Bungee not working
Hello,
Why does my startup script for Bungee not work? http://prntscr.com/ima6kn
I need to keep the classpath section to retrieve the items from libs.
Thanks.
Why does my startup script for Bungee not work? http://prntscr.com/ima6kn
I need to keep the classpath section to retrieve the items from libs.
Thanks.

↧
Class Not Found Exception "org.sqltie.JDBC"
I want use sqlite for saving my plugin data, it's work on bukkit but not for this one.
Error :
View attachment 324193
SQLIte Java Line 127 :
@SuppressWarnings("deprecation")
private boolean openConnection() {
if (!isConnected()) {
File dataFolder = new File(Main.get().getDataFolder(), dbname + ".db");
if (!dataFolder.exists()) {
try {
dataFolder.createNewFile();
} catch (IOException e)...
Class Not Found Exception "org.sqltie.JDBC"
Error :
View attachment 324193
SQLIte Java Line 127 :
Code (Text):
@SuppressWarnings("deprecation")
private boolean openConnection() {
if (!isConnected()) {
File dataFolder = new File(Main.get().getDataFolder(), dbname + ".db");
if (!dataFolder.exists()) {
try {
dataFolder.createNewFile();
} catch (IOException e)...
↧
(Wrong section) %%__USER__%% In anti-piracy system does not put in user ID
Hello spigot users!
I am working on an anti-piracy system. I saw that if you put a public static string with "%%__USER__%%" as string that it puts the ID of the user there. But when i try this it won't really work.
I used this in my main class:
(Wrong section) %%__USER__%% In anti-piracy system does not put in user ID
I am working on an anti-piracy system. I saw that if you put a public static string with "%%__USER__%%" as string that it puts the ID of the user there. But when i try this it won't really work.
I used this in my main class:
Code (Text):
public static String uid = "%%__USER__%%";
protected String getUsername(String id) throws IOException
{
URL url = new URL("https://www.spigotmc.org/members/" + id);
URLConnection conn = url.openConnection();...
protected String getUsername(String id) throws IOException
{
URL url = new URL("https://www.spigotmc.org/members/" + id);
URLConnection conn = url.openConnection();...
↧