Good JavaDocs
Hello, simple probably stupid question but does anyone know where the bungeecord Javadocs are? Also the reg Spigot ones if you could. I'd really appreciate it.
View ArticleReplace Variable with TextComponent
Hey, for my new plugin I need to replace a variable (%variable%) with a TextComponent (I need the Hover & Click event, thats why I need the TextComponent) and yeah.
View ArticleError in dispatching command
My /report plugin is not working, i have provided the dstacktrace and the source code. I bet I did something real stupid thanks, Code (Text): 17.05 11:05:02 [Server] INFO Login by BiastGaming 17.05...
View ArticleSending Data From Server1 to Server2 That Are In The Same Proxy.
How would I send data from Server1 to Server2. For example, I want to send the GameState of Server1(GameServer) to Server2(LobbyServer) while they're in the same proxy. EDIT: WITHOUT PLAYER PLUGIN...
View Articleevent.getPlayer().disconnect("TEST") - disconnect message does not show up, why?
Why, when I do Code (Java): @EventHandler(priority=100) public void onConnect(PostLoginEvent e){ e.getPlayer().disconnect(ChatColor.translateAlternateColorCodes('&', "&c&lTest...
View ArticleChanging from Connection to ProxiedPlayer
I want to use the player.getServer().getInfo().getName() in an event how would I do this? as there is only e.getSender(); which is a connection so how would i change the connection into a proxiedplayer?
View ArticleJsonObject to TextComponent
Hello Everyone! ok, I have been looking around for a good way to do this, but the more I look, the harder it is to find a good way of taking a JsonObject (gson) and turning it into a TextComponent...
View ArticleCreating universal plugins?
Can I add to my Bukkit plugin a BUngee support by extending it to bungeecord? If yes how to do it with the plugin.yml. I am gonna make a plugin that does different things if it is on a spigot server...
View ArticleMaven error: Error in opening zip file
This has only started happening recently, I have no idea why; When I try and build my plugin with maven using intellilJ, I get this error: Spoiler Code (Text): "C:\Program...
View ArticleServer Disconnect from Proxy
Hey, I want a method or any ideas on how I would check if a server has become offline from the proxy and therefore notify all online staff that server has disconnected from the network. Ideally I don't...
View ArticleGetting the server name.
Code (Text): public String serverName(CommandSender sender) { if (sender instanceof ProxiedPlayer) { ProxiedPlayer player = (ProxiedPlayer) sender; return...
View ArticlePer Player Chat
Hey! I am trying to create a plugin in which if the player uses "/chatfilter on" it blocks out words such as shit and fuck but only for them Example: Player one: "I ****ing hate this" - This player has...
View ArticleMultiple ComponentBuilders in a BaseComponent?
I was wondering if you could combine multiple ComponentBuilders in a BaseComponent, like this (obviously this does not work): Code (Text): ComponentBuilder message1 = new ComponentBuilder("First...
View ArticleHow does Bungee get Bukkit online player count?
I'd like to know so that I can spoof the online player count with my Bukkit plugin. As of right now I use ProtocolLib to replace the PacketType.Status.Server.OUT_SERVER_INFO packet with my version...
View ArticleConfig file
Hy guys! I'm only a beginner in bungee developing and I would like to know how I can create a config.yml for my bungee plugin. I tried getProxy.getConfig but it responds the default config of bungee...
View ArticleAddServer
Hey, how can I add a server via Plugin? This code does not work. Code (Text): public static void addServers(String name,int port, int count) throws SQLException { int x = 1; while (x...
View ArticleTextComponent
Hey Guys, I am coding a report plugin for my BungeeCord Server. Code (Text): ProxiedPlayer p = (ProxiedPlayer) cs; ProxiedPlayer t = ProxyServer.getInstance().getPlayer(args[1]);...
View ArticleOnline Players sorted by Rank
Hey, I want to make a Staff-list on which the Staff members are sorted by rank. How can I 'BungeeCord.getInstance ().GetPlayers ()' can be sorted by rank?
View Article