TreeCrafters Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

On the topic of a plugin...

4 posters

Go down

On the topic of a plugin... Empty On the topic of a plugin...

Post by zapmunk Wed Nov 30, 2011 7: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-23

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by anotherstiffler Wed Nov 30, 2011 7: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.
anotherstiffler
anotherstiffler
Admin
Admin

Posts : 279
Reputation : 0
Join date : 2011-11-23
Age : 35

http://treecrafters.com/

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by Tohclan Wed Nov 30, 2011 7: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.
Tohclan
Tohclan
Member
Member

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

http://www.dragoncraft.ca

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by zapmunk Wed Nov 30, 2011 7: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-23

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by Blazinfox555 Wed Nov 30, 2011 10:29 pm

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

Posts : 282
Reputation : 12
Join date : 2011-11-23
Age : 33
Location : Columbia, MD

http://elephantfreak.deviantart.com

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by zapmunk Thu Dec 01, 2011 5: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-23

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by anotherstiffler Thu Dec 01, 2011 5: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.
anotherstiffler
anotherstiffler
Admin
Admin

Posts : 279
Reputation : 0
Join date : 2011-11-23
Age : 35

http://treecrafters.com/

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by zapmunk Thu Dec 01, 2011 6: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-23

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by anotherstiffler Thu Dec 01, 2011 6:16 pm

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

Posts : 279
Reputation : 0
Join date : 2011-11-23
Age : 35

http://treecrafters.com/

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by zapmunk Thu Dec 01, 2011 9: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-23

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by anotherstiffler Thu Dec 01, 2011 9:19 pm

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

Posts : 279
Reputation : 0
Join date : 2011-11-23
Age : 35

http://treecrafters.com/

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by zapmunk Fri Dec 02, 2011 8: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-23

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by anotherstiffler Sat Dec 03, 2011 7:05 pm

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

Smile
anotherstiffler
anotherstiffler
Admin
Admin

Posts : 279
Reputation : 0
Join date : 2011-11-23
Age : 35

http://treecrafters.com/

Back to top Go down

On the topic of a plugin... Empty Re: On the topic of a plugin...

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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