[Open Source] EzWarp | Free Warp/Teleportation Plugin for your server.

Status
This thread has been locked.

subbotted

Contact on Discord, subbotted#5560
Supreme
Feedback score
17
Posts
524
Reactions
407
Resources
0

EzWarp by subbotted.
Open Source, Easy to use and Free.

Features
* Multiple Commands (/warps, /warp, /ezwarp)
* Open source
* User-defined permissions to access seperate warps.
* Small file size ( 10.1 KB )
* Quick bug fixes (if any bugs are found)

Commands & Permissions

/warp [warpName | create | delete] <permission>
Command to teleport to/edit a warp.

/warps
Lists all warps currently loaded.

/ezwarp
Information about the plugin.

License / Terms and Conditions

1. Do not sell this plugin (or any 'forks' of it) without prior permission from the original author (subbotted).
2. Do not advertise this plugin as your own.
3. Don't expect the author (subbotted) to help you fix bugs you create if you decide to fork it.
4. This is an *open source* plugin, it is free and may not display the full potential of the original author (subbotted).
5. Do not remove these comments in any of your forks or edits of this plugin
6. Enjoy the plugin and don't be a toxic little prick and find small little issues just to make yourself sound smart.

Source Code: https://github.com/subbotted/EzWarp
Download: https://www.dropbox.com/s/uf306zco3jnxbjx/EzWarp.jar?dl=0

Wiki/Guide: https://github.com/subbotted/EzWarp/wiki


Enjoy the plugin, feel free to rate this thread a winner and give me +rep for my hard work!
If you feel this thread (or plugin) is missing something feel free to PM me and I will try my best to add it.

Thanks,
subbotted.​
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Ritzzzez

Feedback score
0
Posts
83
Reactions
26
Resources
0
/**
* subbotted's Open Source License / Terms and Conditions
*
* 1. Do not sell this plugin (or any 'forks' of it) without prior permission from the original author (subbotted).
* 2. Do not advertise this plugin as your own.
* 3. Don't expect the author (subbotted) to help you fix bugs you create if you decide to fork it.
* 4. This is an *open source* plugin, it is free and may not display the full potential of the original author (subbotted).
* 5. Do not remove these comments in any of your forks or edits of this plugin
* 6. Enjoy the plugin and don't be a toxic little prick and find small little issues just to make yourself sound smart.
*
*
* EzWarps was created on the 02/06/2017 by the developer subbotted ( http://www.mc-market.org/members/48298/ )
* Copyright (c) subbotted 2017 | All Rights Reserved.
*/

I am pretty sure this means nothing, as anyone could violate these terms and get away with it.
Otherwise, this is a pretty nice plugin with some pretty clean code.
 

Eric

Software Engineer
Supreme
Feedback score
14
Posts
1,760
Reactions
1,648
Resources
1
Looks good.

One suggestion (You can take it or ignore it, just putting it out there):
- Just use a list of warps instead of a HashMap because you can just write a method called "getWarp" taking arguments of "name" in the WarpManager class, iterate through all of the warps and check if the name matches with "name" so instead of doing "WarpPlugin.getInstance().getManager().getLoadedWarps().containsKey(args[0])" you can simply do "WarpPlugin.getInstance().getManager().getWarp(args[0])==null"

Other than that the code looks fine.
 

Ambrosia

Premium
Feedback score
22
Posts
2,340
Reactions
1,384
Resources
0
Looks good.

One suggestion (You can take it or ignore it, just putting it out there):
- Just use a list of warps instead of a HashMap because you can just write a method called "getWarp" taking arguments of "name" in the WarpManager class, iterate through all of the warps and check if the name matches with "name" so instead of doing "WarpPlugin.getInstance().getManager().getLoadedWarps().containsKey(args[0])" you can simply do "WarpPlugin.getInstance().getManager().getWarp(args[0])==null"

Other than that the code looks fine.
Surprise! This is your first actual message
 

subbotted

Contact on Discord, subbotted#5560
Supreme
Feedback score
17
Posts
524
Reactions
407
Resources
0
Looks good.

One suggestion (You can take it or ignore it, just putting it out there):
- Just use a list of warps instead of a HashMap because you can just write a method called "getWarp" taking arguments of "name" in the WarpManager class, iterate through all of the warps and check if the name matches with "name" so instead of doing "WarpPlugin.getInstance().getManager().getLoadedWarps().containsKey(args[0])" you can simply do "WarpPlugin.getInstance().getManager().getWarp(args[0])==null"

Other than that the code looks fine.

Congrats on making a very basic plugin to a good standard in java, you're actually learning.

Also this:
b1b18520b54123f7c95c4f5d1d69bdcb.png

Nice little addition.

Good to see that you're taking user's previous hostility towards you and turning it into making yourself a more competent developer, always nice when people don't go back and cry but actually take it on board.

Now actually make something worthwhile ;)

I'm literally just making lots of small open source plugins for my portfolio but I guess thanks for the kind words :p I don't know something worthwhile that is worth putting out there for free instead of selling it. :p
 

sorydayz

Feedback score
2
Posts
34
Reactions
8
Resources
0
Cool plugin. Like the use of Lombok. Question: In commands, why do you use if statements and return after each one as opposed to else statements.
 

Kuzni

If you signed up after 2016 don't diss me thx
Supreme
Feedback score
12
Posts
1,688
Reactions
950
Resources
0
Somewhere you put about don't fork and sell without permission

Don't let people fork something as simple as this
 
Status
This thread has been locked.
Top