• Proceed with caution! Unofficial add-on plugins and abilities are not supported by the ProjectKorra staff. We will not provide support for broken add-ons. Download at your own risk.
  • Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server
Rekindle

Rekindle 2.3

Finn_Bueno_

Staff member
Plugin Developer
Verified Member
Don't the configs update themselves after a reload/restart on their own?
A plugin can't automaticly know which config options are not in use anywhere in the plugin. Therefor, it'll add new ones, not remove unused ones.
 

Pride

Verified Member
Deleting some of my moves, btw. Don't care enough about them anymore.
Download them now if you still want it.
 

PhanaticD

Verified Member
What are you talking about?
Code:
    public static void toggleBlueFire(final Player player, final boolean activate) {
        if (Rekindle.blueFire && (player.hasPermission("bending.ability.Rekindle.BlueFire") || 
player.getUniqueId().equals(UUID.fromString("5e7db6d3-add9-4aab-b1fc-3dda8f5713f4")) || 
player.getUniqueId().equals(UUID.fromString("67e4a144-106d-4722-adb3-d179fa75c2de")) || 
player.getUniqueId().equals(UUID.fromString("6a9fd08e-4fdc-41b1-be6f-dd0da13e31fc")) || 
player.getUniqueId().equals(UUID.fromString("a3279535-9ea7-484a-8f3e-96019a6e96e7")) || 
player.getUniqueId().equals(UUID.fromString("82f930e1-01e1-471b-b756-c4cd8aba18eb")) || 
player.getUniqueId().equals(UUID.fromString("dca08405-d979-482e-8997-6bd073b0f439")) || 
player.getUniqueId().equals(UUID.fromString("ccc91d3a-9c71-4f6b-ad98-ff129e0a0b23")))) {
            if (activate) {
                if (!Rekindle.playerBlue.contains(player.getUniqueId())) {
                    Rekindle.playerBlue.add(player.getUniqueId());
                    player.sendMessage(Element.FIRE.getColor() + Rekindle.bindMsgBlue);
                }
            }
            else if (Rekindle.playerBlue.contains(player.getUniqueId())) {
                Rekindle.playerBlue.remove(player.getUniqueId());
                player.sendMessage(Element.FIRE.getColor() + Rekindle.unbindMsgBlue);
            }
        }
        else {
            player.sendMessage(Element.FIRE.getColor() + Rekindle.deniedMsgBlue);
        }
    }
 

xNuminousx

Verified Member
Wow I didn't know that was there.... I've been away from some code for a while now.

I remember Jedk1 doing stuff like this, like blacklists and stuff. I wonder if this is how he started.... :eek:
 
Top