Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,000 resources
03
Days
16
Hours
23
Mins
19
Secs

Help please!

Status
This thread has been locked.

ClassicNova

Feedback score
-1
Posts
86
Reactions
7
Resources
0
(this is the first time it has happend)
If u found it please add my skype: c.n0va
Umm i made a plugin and it does not want to work. the problem is this on the console:
04.08 13:17:37 [Server] ERROR Could not load 'plugins/vUTI.jar' in folder 'plugins' 04.08 13:17:37 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml 04.08 13:17:37 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:152) ~[spigot-1.7.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] 04.08 13:17:37 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot-1.7.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] 04.08 13:17:37 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:369) [spigot-1.7.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] 04.08 13:17:37 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:152) [spigot-1.7.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] 04.08 13:17:37 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458) [spigot-1.7.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] 04.08 13:17:37 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] 04.08 13:17:37 [Server] INFO Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml 04.08 13:17:37 [Server] INFO ... 6 more 04.08 13:17:37 [Server] INFO Set PluginClassLoader as parallel capable
-----------------------------------------------------------
Here is the code:
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

RickyBGamez

Supreme
Feedback score
2
Posts
95
Reactions
49
Resources
0
Your plugin doesn't have a plugin.yml, you have to create it and compile it into the jar for the plugin to work.

Tutorial: http://wiki.bukkit.org/Plugin_YAML

Side Note: Change your Clear Chat code to,

for(int someVariableName=1; someVariableName<180; someVariableName++){
Bukkit.broadcastMessage("");
}
Bukkit.broadcastMessage(ChatColor.GRAY+"Chat has been cleared by "+ ChatColor.DARK_RED+ player.getName());

This will reduce the code you use, also you can change the 180 in the for loop to however many times you want to broadcast that message.
 

ClassicNova

Feedback score
-1
Posts
86
Reactions
7
Resources
0

RickyBGamez

Supreme
Feedback score
2
Posts
95
Reactions
49
Resources
0
I have made the plugin YML
-----------------


Main should be: main.Purplish.Main.Main, and also double check that you have no tabs in the plugin.yml :) Also make sure that when you're compiling the plugin, the plugin.yml is included.
 

ClassicNova

Feedback score
-1
Posts
86
Reactions
7
Resources
0
Main should be: main.Purplish.Main.Main, and also double check that you have no tabs in the plugin.yml :) Also make sure that when you're compiling the plugin, the plugin.yml is included.
i'll try thanks
 

Lacroix

creativity at its finest!
Supreme
Feedback score
40
Posts
1,663
Reactions
771
Resources
0
Idk if this is the problem but.

description: >
a plugin..

Try doing it like this.

description: > a plugin

instead of using that space idk if that will fix anything or not But its worth a try.
 

abstraq

Premium
Feedback score
0
Posts
80
Reactions
33
Resources
0
Your plugin doesn't have a plugin.yml, you have to create it and compile it into the jar for the plugin to work.

Tutorial: http://wiki.bukkit.org/Plugin_YAML

Side Note: Change your Clear Chat code to,

for(int someVariableName=1; someVariableName<180; someVariableName++){
Bukkit.broadcastMessage("");
}
Bukkit.broadcastMessage(ChatColor.GRAY+"Chat has been cleared by "+ ChatColor.DARK_RED+ player.getName());

This will reduce the code you use, also you can change the 180 in the for loop to however many times you want to broadcast that message.
It would be better to iterate through the player list and if they don't have a bypass perm send them a blank message instead of broadcasting do that it won't go to console
 

RickyBGamez

Supreme
Feedback score
2
Posts
95
Reactions
49
Resources
0
Also, I noticed that the issue is also caused by him missing 2 brackets in the code. I'm attempting to help him in Skype, but he hasn't called yet. But after these 2 brackets and looking for any tabs in his plugin.yml it should be good. I do agree, PortalAtlas, but I don't think he wants it like that. So I just posted that for loop.
 
Status
This thread has been locked.
Top