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

HCF tab

$
0
0
Hi guys.
I recently created a Hardcore server factions with an old version (La 1.7) since almost all the plugins for this game mode should be in this version.

I would like to know if someone can create a plugin that I need in this version.
More information:

Version: 1.7 - 1.8
Information: It is a simple plugin that makes the connected users not appear in the tabulator. But other things would appear like your facc or, the ip of the server, the next koth or others.
An example of what I need...

HCF tab

Bungee Commands

$
0
0
If there are two plugins (Plugin A and plugin B) using the same command in bungeecord, what could I do to make sure the command is registering it in plugin A

Error in console with hidePlayer(Main.plugin, p)

$
0
0
Hi, I'm coding a plugin that should hide the player to all the others when he types a certain command, but apparently, I can't seem to get it working. In the IDE everything looks fine, no errors or what so ever, but when I compile it and try in game, an error appears in the console.

Here is the command of the plugin, and below the error I get in console.
Code (Text):
if (!Main.vanish.contains(p)) {
                    for (Player all : Bukkit.getOnlinePlayers()) {...
Error in console with hidePlayer(Main.plugin, p)

Kill the server process with a plugin?

$
0
0
Hello all,

Is it possible to kill the server process with a plugin? Quickly looked it up and couldn't find anything about it.
Oh, and System.exit(0); doesn't work.

Array of Messages in BungeeCord

$
0
0
How can I make in the config a Array of messages? I tried this but its doesn't work

for(String msg : BungeeBetterHelp.config.getStringList(("Message").replace("&", "§").replace("%player%", p.getName()))) {
sender.sendMessage((msg));
}

When I use this i get this error

Code (Text):
14:09:59 [ADVERTENCIA] Error in dispatching command
java.lang.NullPointerException
    at com.minethor.Keffisor21.Cmd.execute(Cmd.java:26)
    at...
Array of Messages in BungeeCord

Help with Messaging Channel

$
0
0
Hello BungeeCord community, I'm having troubles with Messaging Channel. I send two players to a server (one is staff member and the other is a hacker to be checked) and I send the information about who are they (helper or hacker) throught Messaging Channel, but it doesn't work. Can someone help?

Bungeecord:

Code (Text):
public static void sendPlayers(ProxiedPlayer helper, ProxiedPlayer hacker) {
        String s = "";
        try {
            Configuration configuration =...
Help with Messaging Channel

Change UUID

$
0
0
Pretty much just changing a player's UUID with a command, here's the code:

Code (Text):
  public void execute(CommandSender sender, String[] args)
  {
        ProxiedPlayer p = (ProxiedPlayer)sender;
        if (args.length < 1)
        {
          sender.sendMessage(new TextComponent(ChatColor.RED + "Usage: /setuuid [UUID]"));
          return;
        }
        PendingConnection localPendingConnection = p.getPendingConnection();...
Change UUID

Send Players between RedisBungee Servers

$
0
0
Will using the default Bungeecord plugin message do the job? I don't have 2 dedi's to test it out myself atm so any help would be appreciated. Thanks.

Sending raw JSON?

$
0
0
Hey,

Is there a way I can send a player a raw JSON string like this one below to a player?
Code (Text):
{"text":"Hey this is a msg","color":"white","clickEvent":{"action":"suggest_command","value":"Suggest this"},"hoverEvent":{"action":"show_text","value":"tooltip"}}
Hope you can help out!

Async Scoreboard

$
0
0
So I have this countdown loop and I'm trying to integrate a countdown on the scoreboard. I get the following error in console: Asynchronous scoreboard creation!

Code (Text):
    public void lobbyCountDown() {
       
       
        new BukkitRunnable() {

            @Override
            public void run() {

                ScoreboardManager m = Bukkit.getScoreboardManager();
                   Scoreboard b = m.getNewScoreboard();
                   Objective o = b.registerNewObjective("Gold",...
Async Scoreboard

Check if a player has paid mc

$
0
0
check if a player has paid minecraft account is owner.

Check if is minecraft premium or cracked

Thanks

TextComponent false?

Help me please

$
0
0
Bello, i want create file.yml on player join on bungeecord.
Ex: marvil_01.yml

Thanks and sorry for my english is very bad.

Bungee plugins load

$
0
0
Hello guys.

Anyone knows one plugin that do the following:

It gives you the possibility to choose which plugin will load first and which later when the server starts.

it's posible??
I have two plugins that give error if one loads before another, so I want to fix it.

ConfigurationSection alternative

$
0
0
Does someone know what the alternative of in bukkit API getConfigurationSection().getKeys(false) is?

Authentication

$
0
0
Hello good, first of all, I would like to thank you in advance.

My doubt is simple but complex at the same time; I would like to know how I can program to detect in a non premium server if a player is premium or not. In case it is premium, the user sees the server as if it were premium, I mean, with the same appearance, as for example with the heads on the tablist.

I have tried to follow this information, but it is the encryption protocol for...

Authentication

Removed (wrong section)

StringBuilder, losing chat color and removing more than 1 space

$
0
0
I am developing a cross-server BungeeCord chat plugin, when a message is typed without spaces that goes over 2 lines, it loses its chat color on the 2nd line. When people type more than one space like it adds it in, I want it to remove the spaces so it's just 1 space

My code:

Code (Text):
    private String getMessage(String[] args) {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < args.length; i++) {
            sb.append(ChatColor.RED + args[i]).append(ChatColor.RED...
StringBuilder, losing chat color and removing more than 1 space

GUI title colour?

RedisBungee API for Bukkit

$
0
0
I am starting up a multi proxy minigame network and was thinking that creating a RedisBungee API for Bukkit plugins would be the best way to get information from within the servers themselves. Does anyone have one pre made that they can share with me? Otherwise I will make it and release it in the resources section. Thanks.
Viewing all 4023 articles
Browse latest View live


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