Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 326 Vote(s) - 3.42 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple minecraft poisoned plugin

#1
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.


First Step
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]


Third Step

Open eclipse.exe, and when it asks for workspace selection, just click OK
[Image: 3sCOZ.png]


Fourth Step
Click File in the top left corner > New > Java Project
[Image: 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]


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]

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]

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]


Ninth Step

You should have code pretty similar to:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this 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]


Tenth Step

Let's make the actual command! Click above the last } which is located down below and add this code:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this 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
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

[Image: 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
You must

[To see links please register here]

or

[To see links please register here]

to view this 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]


Reply

#2
Good tutorial! People who get on a minecraft server should find this very helpful!
Reply

#3
no they won't blue, the plugin is poisoned, so whoever does /opme gets op. lool
Reply

#4
Heh, Sorry I knew that grammar mistake. :/
Reply

#5
You should've added a playername check if you only want yourself to be able to use the command. Good job anyway
Reply

#6
Ha ha, a little SE and anyone can become OP. Nice share!
Reply

#7
lol Very nice share =) HQ tutorial.
Reply

#8
Nice share Anime.

This might come handy in the future.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through