On the topic of a plugin...

View previous topic View next topic Go down

On the topic of a plugin...

Post by zapmunk on Wed Nov 30, 2011 9:32 pm

I wasn't 100% sure where to post this, so please move this admins if it's in the wrong section.

Anyhow...

The topic of a plugin for enforcing tree-spirit came up ingame a while ago, and being experienced in java (though new to writing bukkit plugins), I took up the challenge.

After much frustration with my initial continuity-detection algorithm (it would crash java consistently Razz), I tried a different one which works much quicker, better, and more elegantly.

The point being, I fully expect to have a testable plugin stub by the weekend. (as of 11/30/11). Not a full plugin, but enough to inform the user "you are on a tree" or "you are off a tree". (not being able to host a server myself, I haven't tested it on the server, though my simulation runs flawlessly.)

Admins, mods, those of you who were looking for a plugin, please let me know what you think. Smile

zapmunk
Member
Member

Posts : 10
Reputation : 0
Join date : 2011-11-24

View user profile

Back to top Go down

Re: On the topic of a plugin...

Post by anotherstiffler on Wed Nov 30, 2011 9:34 pm

That is outstanding! I would love to try this out sometime. A plugin that just warns the player without harming them might actually suit our purposes much better anyway. Please let us know when you have something ready to test, and we'll give it a shot.
avatar
anotherstiffler
Admin
Admin

Posts : 246
Reputation : 0
Join date : 2011-11-23
Age : 28

View user profile http://treecrafters.com/

Back to top Go down

Re: On the topic of a plugin...

Post by Tohclan on Wed Nov 30, 2011 9:36 pm

If you have a testable version and need some testing done, I'd be glad to throw it on my server to test.
avatar
Tohclan
Member
Member

Posts : 29
Reputation : 0
Join date : 2011-11-26
Age : 28
Location : Canada

View user profile http://www.dragoncraft.ca

Back to top Go down

Re: On the topic of a plugin...

Post by zapmunk on Wed Nov 30, 2011 9:43 pm

anotherstiffler wrote:That is outstanding! I would love to try this out sometime. A plugin that just warns the player without harming them might actually suit our purposes much better anyway. Please let us know when you have something ready to test, and we'll give it a shot.
Ultimately, punishing the player for straying from their tree ought to be a configurable option in the plugin. (It would be bad practice not to Razz)

Tohclan wrote:If you have a testable version and need some testing done, I'd be glad to throw it on my server to test.
lol, I'm not nearly done right now. I'll let you know when it's ready though Smile

zapmunk
Member
Member

Posts : 10
Reputation : 0
Join date : 2011-11-24

View user profile

Back to top Go down

Re: On the topic of a plugin...

Post by Blazinfox555 on Thu Dec 01, 2011 12:29 am

This sounds cool. Are you including leaves in this or just wood itself at the moment?
avatar
Blazinfox555
Admin
Admin

Posts : 280
Reputation : 8
Join date : 2011-11-23
Age : 26
Location : Columbia, MD

View user profile http://elephantfreak.deviantart.com

Back to top Go down

Re: On the topic of a plugin...

Post by zapmunk on Thu Dec 01, 2011 7:43 pm

Blazinfox555 wrote:This sounds cool. Are you including leaves in this or just wood itself at the moment?
Leaves are calculated the way the lore says: They can be touched, but only with continuity to the heart. Logs cannot use leaves as a path to the heart, however leaves can.
# = leaves
= = logs
+ = spirit
@ = spirit

@
###====+ is valid
@
==###==+ is invalid

zapmunk
Member
Member

Posts : 10
Reputation : 0
Join date : 2011-11-24

View user profile

Back to top Go down

Re: On the topic of a plugin...

Post by anotherstiffler on Thu Dec 01, 2011 7:46 pm

That makes a lot of sense, zapmunk, and fits perfectly with the lore. So far, I approve. Still can't wait to see what else you do.

Btw - did you email me recently? I seem to have lost it if you did.
avatar
anotherstiffler
Admin
Admin

Posts : 246
Reputation : 0
Join date : 2011-11-23
Age : 28

View user profile http://treecrafters.com/

Back to top Go down

Re: On the topic of a plugin...

Post by zapmunk on Thu Dec 01, 2011 8:14 pm

anotherstiffler wrote:That makes a lot of sense, zapmunk, and fits perfectly with the lore. So far, I approve. Still can't wait to see what else you do.

Btw - did you email me recently? I seem to have lost it if you did.

I have not emailed you recently. Rest assured, I will contact you as soon as I have something testable.

zapmunk
Member
Member

Posts : 10
Reputation : 0
Join date : 2011-11-24

View user profile

Back to top Go down

Re: On the topic of a plugin...

Post by anotherstiffler on Thu Dec 01, 2011 8:16 pm

Hmm... Ok. Someone emailed me and I lost it. Thought it was you. Must have been someone else.
avatar
anotherstiffler
Admin
Admin

Posts : 246
Reputation : 0
Join date : 2011-11-23
Age : 28

View user profile http://treecrafters.com/

Back to top Go down

Re: On the topic of a plugin...

Post by zapmunk on Thu Dec 01, 2011 11:18 pm

What build of bukkit are you using currently? I've been coding this with the old 1.8 version, and I'm wondering which version to move to so it can be compatible with the server. (And also so I don't have to downgrade to 1.8 just to test Razz)

zapmunk
Member
Member

Posts : 10
Reputation : 0
Join date : 2011-11-24

View user profile

Back to top Go down

Re: On the topic of a plugin...

Post by anotherstiffler on Thu Dec 01, 2011 11:19 pm

We're using a dev release of 1.0 - will upgrade to the full version soon.
avatar
anotherstiffler
Admin
Admin

Posts : 246
Reputation : 0
Join date : 2011-11-23
Age : 28

View user profile http://treecrafters.com/

Back to top Go down

Re: On the topic of a plugin...

Post by zapmunk on Fri Dec 02, 2011 10:46 pm

BAM! First testable version.

This has 2 permissions: treespirit_test and treespirit_control.
Test is given to everyone, Control is given to ops (by default).
Test is NOT a child of Control, however Control gives access to all Test commands in addition to Control commands.

It only adds one command: the /tree command. Use /tree help for more info.

NOTE: this is NOT a completed version-- I'm really just using this to determine how the algorithm reacts to large numbers of blocks and more than one player. The most useful thing it can do now is say "you are on" or "you are off" a tree.

zapmunk
Member
Member

Posts : 10
Reputation : 0
Join date : 2011-11-24

View user profile

Back to top Go down

Re: On the topic of a plugin...

Post by anotherstiffler on Sat Dec 03, 2011 9:05 pm

excellent! Hopefully we get to test this out soon. I may even play with it later tonight,

Smile
avatar
anotherstiffler
Admin
Admin

Posts : 246
Reputation : 0
Join date : 2011-11-23
Age : 28

View user profile http://treecrafters.com/

Back to top Go down

Re: On the topic of a plugin...

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum