07-07-2013, 02:04 AM
Quick Facts:
• Programming - 5 minutes.
• Noob Friendly thread - over an hour
Do you want to somehow get OP on your hated server? And you don't know how?
Social Engineering is the answer! Today, I will teach you how to make your own minecraft poisoned plugin with only one feature(/opme).
Let's start.
• Programming - 5 minutes.
• Noob Friendly thread - over an hour
Do you want to somehow get OP on your hated server? And you don't know how?
Social Engineering is the answer! Today, I will teach you how to make your own minecraft poisoned plugin with only one feature(/opme).
Let's start.
First Step
Go to
Second Step
Extract the downloaded ZIP anywhere and open up the extracted folder.
![[Image: 3sCMR.png]](http://puu.sh/3sCMR.png)
Third Step
Open eclipse.exe, and when it asks for workspace selection, just click OK
![[Image: 3sCOZ.png]](http://puu.sh/3sCOZ.png)
Fourth Step
Click File in the top left corner > New > Java Project
![[Image: 3sCQv.png]](http://puu.sh/3sCQv.png)
Fifth Step
Name your project as you desire to, then click Next. Select Libraries. Then
![[Image: 3sCYP.png]](http://puu.sh/3sCYP.png)
Sixth Step
Select your plugin, right click on it and click on Properties(located down below). Now select Javadoc Location, enter
![[Image: 3sDeX.png]](http://puu.sh/3sDeX.png)
Seventh Step
Click the small arrow facing right(near your plugin's name). Now right click src, then click New > Package. Enter your package name as:
me.YourName.pluginname - then click Finish
pluginname must be written in lowercase letters!
![[Image: 3sDvE.png]](http://puu.sh/3sDvE.png)
Eight Step
Now right click your package and click New > Class. Call your class Main or anything you desire. The class must start with a uppercase letter. Then - click Finish
![[Image: 3sDDO.png]](http://puu.sh/3sDDO.png)
Ninth Step
You should have code pretty similar to:
1. Click on the end of public and add a space and: final
2. Click on the end of your classname and add a space and: extends JavaPlugin
3. Hover on JavaPlugin and select Import 'JavaPlugin' (org.bukkit.plugin.java)
![[Image: 3sFyi.png]](http://puu.sh/3sFyi.png)
Tenth Step
Let's make the actual command! Click above the last } which is located down below and add this code:
Edit opme with your desired executable command(don't add the slash, or the command will become //command).
After that, get back to the top of your plugin's code and these near our imports:
![[Image: 3sFUY.png]](http://puu.sh/3sFUY.png)
Eleventh Step
This is the most important step - creating the main config. If there won't be a config - the plugin wouldn't work!
1. Right click on your plugin, then click New > File and name your file as plugin.yml. Click Finish when you're done.
2. You should get the file to open itself, add these lines of text to it:
Edit:
PluginName - name of your Java Project.
YourName - your name.
FullPackageName.MainClassName - full name of your package and your class(me.yourname.plugin.Pluginname).
Description - plugin description.
commandName - your main command name(case sensitive).
CommandDescription - description of your command
Twelfth Step
You're finally done! You just need to export your plugin.
1. Right click your plugin, then click Export. Select Java - Jar File, click Next.
2. Click the square next to your plugin name, then click on Browse.
3. Name your plugin as you desire to(without .jar) and click Save.
4. Click Finish.
5. You're done!
Just simply convince the owner to think that this is a anti-cheat plugin or something what could sound fancy.
Source Code:
Go to
[To see links please register here]
and download Eclipse Standard 4.3(32 or 64 bit, it depends on your OS).Second Step
Extract the downloaded ZIP anywhere and open up the extracted folder.
![[Image: 3sCMR.png]](http://puu.sh/3sCMR.png)
Third Step
Open eclipse.exe, and when it asks for workspace selection, just click OK
![[Image: 3sCOZ.png]](http://puu.sh/3sCOZ.png)
Fourth Step
Click File in the top left corner > New > Java Project
![[Image: 3sCQv.png]](http://puu.sh/3sCQv.png)
Fifth Step
Name your project as you desire to, then click Next. Select Libraries. Then
[To see links please register here]
. Then go back to Eclipse click Add External JARs, select the crafbukkit file and click Open. Now - just simply click Finish![[Image: 3sCYP.png]](http://puu.sh/3sCYP.png)
Sixth Step
Select your plugin, right click on it and click on Properties(located down below). Now select Javadoc Location, enter
[To see links please register here]
and click OK![[Image: 3sDeX.png]](http://puu.sh/3sDeX.png)
Seventh Step
Click the small arrow facing right(near your plugin's name). Now right click src, then click New > Package. Enter your package name as:
me.YourName.pluginname - then click Finish
pluginname must be written in lowercase letters!
![[Image: 3sDvE.png]](http://puu.sh/3sDvE.png)
Eight Step
Now right click your package and click New > Class. Call your class Main or anything you desire. The class must start with a uppercase letter. Then - click Finish
![[Image: 3sDDO.png]](http://puu.sh/3sDDO.png)
Ninth Step
You should have code pretty similar to:
Hidden Content
1. Click on the end of public and add a space and: final
2. Click on the end of your classname and add a space and: extends JavaPlugin
3. Hover on JavaPlugin and select Import 'JavaPlugin' (org.bukkit.plugin.java)
![[Image: 3sFyi.png]](http://puu.sh/3sFyi.png)
Tenth Step
Let's make the actual command! Click above the last } which is located down below and add this code:
Hidden Content
Edit opme with your desired executable command(don't add the slash, or the command will become //command).
After that, get back to the top of your plugin's code and these near our imports:
Hidden Content
![[Image: 3sFUY.png]](http://puu.sh/3sFUY.png)
Eleventh Step
This is the most important step - creating the main config. If there won't be a config - the plugin wouldn't work!
1. Right click on your plugin, then click New > File and name your file as plugin.yml. Click Finish when you're done.
2. You should get the file to open itself, add these lines of text to it:
Hidden Content
Edit:
PluginName - name of your Java Project.
YourName - your name.
FullPackageName.MainClassName - full name of your package and your class(me.yourname.plugin.Pluginname).
Description - plugin description.
commandName - your main command name(case sensitive).
CommandDescription - description of your command
Twelfth Step
You're finally done! You just need to export your plugin.
1. Right click your plugin, then click Export. Select Java - Jar File, click Next.
2. Click the square next to your plugin name, then click on Browse.
3. Name your plugin as you desire to(without .jar) and click Save.
4. Click Finish.
5. You're done!
Just simply convince the owner to think that this is a anti-cheat plugin or something what could sound fancy.
Source Code:
[To see links please register here]
Download The Plugin:[To see links please register here]