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

More args in Stringlinst - Config

$
0
0
How can I do something like this?

Code (Text):
Ranks:
- Admin; system.admin
- Developer; system.dev
- SrModerator; system.srmod
- Moderator; system.mod
- Supporter; system.sup
- YouTuber; system.youtuber
- Premium; system.premium
- Player; system.player

Stop message being broadcasted to all players

$
0
0
So I have setup my BungeeCord network, I have made a GUI that shows the servers available and the amount of players on, but whenever someone opens the GUI, this sends to all players:
View attachment 315026
I never made it do this, here is the code:

My BungeeCord API class:
Code (Text):
private static String color(String s) {
        return ChatColor.translateAlternateColorCodes('&', s);
    }
   
    private static int playerCount;
   
    @Override
    public void...
Stop message being broadcasted to all players

Command with Packets

$
0
0
How can I make a Command with Packets?

Crazy error whil executing command?

$
0
0
That is the error:

Code (Text):
15:58:06 [WARNING] Error in dispatching command
java.lang.NullPointerException
    at de.geraged.playerinfo.commands.InfoCommand.execute(InfoCommand.java:23)
    at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:169)
    at net.md_5.bungee.api.plugin.PluginManager.dispatchCommand(PluginManager.java:116)
    at net.md_5.bungee.connection.UpstreamBridge.handle(UpstreamBridge.java:140)
    at...
Crazy error whil executing command?

Config String

$
0
0
Why is this error?

The String Settings.Permission is exists I can see it in the config!?!

That is Line 23-27
Code (Text):
        String perm = Config.config.getString("Settings.Permission");
        if (!player.hasPermission(perm)) {
            player.sendMessage(new Config().getPrefix() + Config.config.getString("Messages.NoPerm").replace("&", "§"));
            return;
        }
Config:

Code (Text):
Settings:
  Dateformat: dd.MM.yyyy kk:mm
  Permission: system.admin
Error:...

Config String

"Already connecting to this server!" error.

$
0
0
I'm facing a pretty annoying problem recently. I have tested my project on localhost server and it worked fine, but on the dedicated server it unfortunatelly doesn't. When I join "lobby" server, I'm getting "Already connecting to this server!" error on chat.

My plugin works like that (It is actually fairly complicated but...)
I have BungeeVerification as a Bungee plugin which handles Redis communication and transfering people (and also caching premium/non-premium status).
I have Login...

"Already connecting to this server!" error.

XenAPI - Change profile picture

$
0
0
Hey,

have someone a method to change the profile picture of an unsername with the XenAPI??

how to get a certain console sender?

$
0
0
Hello there,
I need help with what the title says so I am making a plugin for my server but I don't know how to get a certain console like I want to get my hub console instead of the proxy because I am trying to dispatch a command in the hub.

EDIT: Thank you.

Vanilla Bungee

Help Jetpack

Cancel connection

$
0
0
How can i cancel the connection so that when a user joins the server it gets a kick message,

also when the bungee is not connected to a online spigot server because now i get the message, "" Cannot connect to default server "but i want. this network is under maintenace".

Which event do i need to use and how?

From which spigot version changed this constructor ?

$
0
0
Hello guys, does anybody knows from which version has constructor of PacketPlayOutMapChunk changed ?
On 1.8 version it is PacketPlayOutMapChunk(Chunk chunk, boolean flag, int i) , but on 1.12 it is public PacketPlayOutMapChunk(Chunk chunk, int i) .

I am sending a packets via reflection so i need to know

Color change at new chat line

$
0
0
Can I bypass the color change that appears at the wordwrap? It is better in SpigotAPI

Mirror ask

$
0
0
Hi developers!

If i change the mirror to code to 1.9
The plugin will be compatible with 1.8?

Thanks for reading :)

Never messed with BungeeCord before, what steps are required to make a minigame?

$
0
0
I know how to program minigames, I have made arena games before, however I have never made a BungeeCord supported game.


When creating my game I understand that I have to assume the first player that joins the server is the start of the lobby sequence. My question is, is it also my job to stop the player from joining the server if it has max players, is there BungeeCord specific events to tell a player they cant join a game because its full, exc?

When a players mine a block lava appears

$
0
0
Hi developers!

I created a event called: public void onBreack(PlayerItemBreakEvent t)
I want that when this event is executed t (player) if breacks a block appears lava
How can i do it?

Sorry for my English :oops:

Thanks for reading :)

it there a package.,...thing

$
0
0
I know there is a package to read chats by the from spigot -> bungee and back but is there a way to read <player that spoke> <server it came from(by name)> <message said by player> kinda way that I can then somehow idk loop through the bungee known servers and ignore the server the package came from and only output that received message to the other servers ?

I've seen several bungee chat related plugins and none of them do this so kinda wondering if its at all possible

Where is issue?

$
0
0
18:52:28 [WARNING] No client connected for pending server!
18:52:29 [SEVERE] lut 07, 2018 6:52:29 PM net.md_5.bungee.event.EventBus post
WARNING: Error dispatching event PluginMessageEvent(super=TargetedEvent(sender=net.md_5.bungee.ServerConnection@25008b7f, receiver=xCraftRayX), cancelled=true, tag=AuthCraftBungee) to listener pl.mines.xcraftrayx.authcraftbungee.listeners.ServerListener@4482469c
java.lang.NullPointerException

My ServerListener.class:
Code (Text):
package...
Where is issue?

set item display name to PlayerCount from Bungee ?

$
0
0
how to set item display name to PlayerCount from Bungee ?

i think we must use out.writeUTF("PlayerCount"); out.writeUTF("pvp");
but i don't know how we writ the Code.

public static ItemStack Servers(){

ItemStack i = new ItemStack(Material.COMPASS);
ItemMeta m = i.getItemMeta();
m.setDisplayName(ChatColor.translateAlternateColorCodes('&', "&c&lGames"));

List<String> l_i = new ArrayList<String>();...

set item display name to PlayerCount from Bungee ?

Just errors and errors

$
0
0
Hi, so I'm making one of my first bungeecord plugins and I'm getting lots of errors. One is when anyone logs in.

20:22:52 [SEVERE] Feb 08, 2018 8:22:52 PM net.md_5.bungee.event.EventBus post
WARNING: Error dispatching event PostLoginEvent(player=DaddyImPregnant) to listener me.fairing.proxy.listeners.PostLoginListener@21526f6c
java.lang.NullPointerException
at me.fairing.proxy.listeners.PostLoginListener.onPostLogin(PostLoginListener.java:26)
at...

Just errors and errors
Viewing all 4046 articles
Browse latest View live


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