Welcome to my MC-Market Thread
"Screenshare Plugin" Like HCTeams
Video
Thanks for reading my thread
"Screenshare Plugin" Like HCTeams
Video
Thanks for reading my thread
Last edited:
Vouch the thread then i will send the download linkMay I get a Vouch Copy?
I will vouch it after i see how the plugin works.Vouch the thread then i will send the download link
Vouch and you will recieve the download linkVouch, very easy to use and very efficient!
im trying to add that[DOUBLEPOST=1439924076,1439923782][/DOUBLEPOST]Might want to make a command to reload the config of the plugin instead of reloading the entire server.
Might want to make a command to reload the config of the plugin instead of reloading the entire server.
} else if (args.length == 1 && args[0].equalsIgnoreCase("ssreload")) {
if (!player instanceof Player) {
// If player is not an instanceof Player, then it's the console sending the command.
this.reloadConfig();
this.saveConfig();
Bukkit.getLogger().info("[Screenshare] Config Reloaded! ");
// Returns true because the console can execute anything.
return true;
} else if (player.hasPermission("screenshare.reload")) {
// If it's not the console, then it's a player. Check their permission and execute if they have.
this.reloadConfig();
this.saveConfig();
player.sendMessage(ChatColor.GREEN + "[Screenshare] Config reloaded!");
System.out.println("[Screenshare] Config reloaded!");
return true;
// Return true if this plugin executed this command.
} else {
return false;
// Returns false because the player didn't have permission, so it wasn't executed.
}
}
Thanks for helpingYou're asking people to vouch before you give them the plugin, it doesn't work that way. You give them the plugin and they determine whether it's worth a vouch or not.
How you're doing it now is basically telling them to give you false vouches without them reviewing the plugin.

Yea sorryWere both vouch copies taken?
Aight, might buy since i'm looking for oneYea sorry
wich code the reload?Oh lord, this code is uglyyy
im not a profesional Developer im an beginner if you could help me to make the code cleaneryeah
