Quantcast
Channel: BungeeCord Plugin Development
Browsing all 4046 articles
Browse latest View live

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 Article


Replace 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 Article


Error 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 Article

Sending 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 Article

Image may be NSFW.
Clik here to view.

event.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 Article


Changing 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 Article

JsonObject 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 Article

Creating 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 Article


Maven 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 Article


Server 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 Article

How do I solve this ExceptionInInitializerError?

nvm got it stupid error

View Article

Getting the server name.

Code (Text): public String serverName(CommandSender sender) {         if (sender instanceof ProxiedPlayer) {             ProxiedPlayer player = (ProxiedPlayer) sender;             return...

View Article

Per 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 Article


Multiple 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 Article

How 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 Article


Config 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 Article

AddServer

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 Article


Scrolling MOTD?

Can I create a scrolling MOTD in BungeeAPI?

View Article

TextComponent

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 Article

Online 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
Browsing all 4046 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>