Hugs 1.3 - FREE

Status
This thread has been locked.

Hoppys

Supreme
Feedback score
0
Posts
725
Reactions
250
Resources
0
Hugs

About:
Hello! Hugs is a quick plugin that i've created which will be a way to recieve a lovely hug from another player. i will be updating this plugin over the next few days to fix some bugs, errors and more. Even though i've ran this plugin on a few servers like Lunar Creative and my own personal test server, it looks like that this plugin has been doing great. future updates will be interesting as well. my idea is to let the owner to edit the config file like the titles, enable or disable, messages and more that i shouldn't spoil. the current cooldown is 30 seconds (600 ticks).

Permissions:
hug.use
Coming soon..
Coming soon..


To do list:
Config file
Disable from receiving hugs.
longer cool down IF needed.
Add heart particles when a player receives a hug.
slap, kiss and punch

Test Server:
Lunar Creative | Lunarcreative.mcserver.ws

If you have any suggestions or ideas please let me know.

 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Pamphlet

Adorable
Premium
Feedback score
2
Posts
105
Reactions
51
Resources
0
When I first saw the title, I thought this would be a joke thread. I was about to spam hug everyone in the comments. Then I saw this was a real post lol
 

Hoppys

Supreme
Feedback score
0
Posts
725
Reactions
250
Resources
0
I know this is a free plugin, so I was wondering if you have it open sourced? Would be great for people trying to learn like myself :D
Well i'm currently learning myself, i've known java for a bit now but lately i've been getting into MC related java. i know people think it's boring to watch tutorials on tree house, code academy etc, but they do help, i've been doing those courses as well as watching PogoStick29 on YT, this is his YT vids.

Playlist 1.
Playlist 2.

Regarding to your question, once i've finished the plugin completely i'll be opening the source for anyone to use. :)[DOUBLEPOST=1450153505,1450153470][/DOUBLEPOST]
When I first saw the title, I thought this would be a joke thread. I was about to spam hug everyone in the comments. Then I saw this was a real post lol
ahah, welp its a hug plugin \o/
 

Hoppys

Supreme
Feedback score
0
Posts
725
Reactions
250
Resources
0
You should fix up your conditional statements, they could be reduced by many lines. Don't print out enable/disable messages when the plugin enables/disables, Bukkit does this for you automatically already. And finally, there is no need to store an entire Player object in your ArrayList. You can just create a List<String> and save the players' names there. If in the future you want to show how long a player is still in the cooldown for, I recommend you use a HashMap taking in a UUID as a key and Long as a value. Then comparing those times with the current system time.

Other than that this is a pretty neat little plugin. Good job :)
Thanks for the tips! and ty :)
 

Czarek

Supreme
Feedback score
2
Posts
230
Reactions
204
Resources
0
You should fix up your conditional statements, they could be reduced by many lines. Don't print out enable/disable messages when the plugin enables/disables, Bukkit does this for you automatically already. And finally, there is no need to store an entire Player object in your ArrayList. You can just create a List<String> and save the players' names there. If in the future you want to show how long a player is still in the cooldown for, I recommend you use a HashMap taking in a UUID as a key and Long as a value. Then comparing those times with the current system time.

Other than that this is a pretty neat little plugin. Good job :)

Just to add to this. The reason why you should not store a player object is because it takes up quite a bit of memory. This might not be noticed on a smaller server but does cause trouble once it gets bigger.
 

Flyingfrogs

Feedback score
0
Posts
71
Reactions
30
Resources
0
Frogs needs hugs its a quote "fnh" simple as that they just need hugs. Frogs live on contact of other frogs.
 

Hoppys

Supreme
Feedback score
0
Posts
725
Reactions
250
Resources
0
updated, version is now 1.2 you can see the new changes in the resource.
 

Hoppys

Supreme
Feedback score
0
Posts
725
Reactions
250
Resources
0
You should fix up your conditional statements, they could be reduced by many lines. Don't print out enable/disable messages when the plugin enables/disables, Bukkit does this for you automatically already. And finally, there is no need to store an entire Player object in your ArrayList. You can just create a List<String> and save the players' names there. If in the future you want to show how long a player is still in the cooldown for, I recommend you use a HashMap taking in a UUID as a key and Long as a value. Then comparing those times with the current system time.

Other than that this is a pretty neat little plugin. Good job :)
how did you check the source btw? O,o
 
Status
This thread has been locked.
Top