Posts: 4
Threads: 0
Joined: May 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
Sorry for slightly changing the subject but I was wondering, is it humanly possible to create a Plugin that allows the use of items that are otherwise not available? Like say beds for example? (Which currently I can't seem to create a bed, I even tried adding it to items.ini and the recipe in recipes.ini).
Posts: 1,450
Threads: 53
Joined: Feb 2011
Thanks: 15
Given 120 thank(s) in 91 post(s)
05-27-2011, 11:39 PM
(This post was last modified: 05-27-2011, 11:45 PM by FakeTruth.)
No that is not possible at the moment. MCServer has hardcoded protection against invalid item and block ID's which is updated every time new objects are added. According to this check beds are still invalid items and so you cannot have them in your inventory. I should come up with a more flexible solution for this, because right now you always have to wait for MCServer to update before you can script in the behaviour of new items.
That said, when item ID's are valid according to MCServer you can script their behaviour, like for example beds
Posts: 4
Threads: 0
Joined: May 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
(05-27-2011, 11:39 PM)FakeTruth Wrote: No that is not possible at the moment. MCServer has hardcoded protection against invalid item and block ID's which is updated every time new objects are added. According to this check beds are still invalid items and so you cannot have them in your inventory. I should come up with a more flexible solution for this, because right now you always have to wait for MCServer to update before you can script in the behaviour of new items.
That said, when item ID's are valid according to MCServer you can script their behaviour, like for example beds
Awww, guess I'll have to wait then... Looking forward to learning Lua to do Plugins. Just need to come up with something to make XD
On a slight note, I changed your Axe recipes to be more in line with what Minecraft actually uses (I had people complaining that they couldn't make axes the "official" way). Posted the changed ones in case you wanted to add them for the next release.
Code: 3x3,1:1:5:1,2:1:5:1,1:2:5:1,2:2:280:1,2:3:280:1@271:1 #-> Wooden (L)
3x3,3:1:5:1,2:1:5:1,3:2:5:1,2:2:280:1,2:3:280:1@271:1 #-> Wooden (R)
3x3,1:1:4:1,2:1:4:1,1:2:4:1,2:2:280:1,2:3:280:1@275:1 #-> Stone (L)
3x3,3:1:4:1,2:1:4:1,3:2:4:1,2:2:280:1,2:3:280:1@275:1 #-> Stone (R)
3x3,1:1:256:1,2:1:256:1,1:2:256:1,2:2:280:1,2:3:280:1@258:1 #-> Iron (L)
3x3,3:1:256:1,2:1:256:1,3:2:256:1,2:2:280:1,2:3:280:1@258:1 #-> Iron (R)
3x3,1:1:264:1,2:1:264:1,1:2:264:1,2:2:280:1,2:3:280:1@279:1 #-> Diamond (L)
3x3,3:1:264:1,2:1:264:1,3:2:264:1,2:2:280:1,2:3:280:1@279:1 #-> Diamond (R)
Posts: 1,450
Threads: 53
Joined: Feb 2011
Thanks: 15
Given 120 thank(s) in 91 post(s)
What's the difference? Isn't it the exact same thing, just written differently (more clear xD ) ?
Posts: 4
Threads: 0
Joined: May 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
(05-28-2011, 07:20 AM)FakeTruth Wrote: What's the difference? Isn't it the exact same thing, just written differently (more clear xD ) ?
The difference is that with the old one the axe would immediately disappear before you could grab it.
Posts: 1,450
Threads: 53
Joined: Feb 2011
Thanks: 15
Given 120 thank(s) in 91 post(s)
The current version works fine for me O.o
I still haven't updated to 1.6 though, so maybe something broke there?
Posts: 1,450
Threads: 53
Joined: Feb 2011
Thanks: 15
Given 120 thank(s) in 91 post(s)
You can use all new items now in the last release of MCServer ( 179 )
|