Skip to content
Success

Changes

Summary

  1. Prevent event duplication (commit: b2f4d1a) (details)
  2. Clean element.is.than error handling (commit: 456e9b3) (details)
  3. Add element.totitlecase (commit: 2764d48) (details)
  4. Add location.yaw.simple (commit: c4d0fc0) (details)
  5. Prevent ParticleEffect errors + clean meta (commit: b025421) (details)
  6. Small meta corrections (commit: f337ad0) (details)
  7. Fix minor logic error in tag manager debug (commit: 5d01e6f) (details)
  8. Allow - switch on a fence_gate (commit: 94f52b4) (details)
  9. Add <[email protected]_pose[<name>]> and <[email protected]_pose[<name>]>; Fix some tag (commit: 4db29f2) (details)
  10. Add filter on tag player.target (commit: 486a5fc) (details)
  11. Add "update" to Inventory command (commit: a90ff79) (details)
  12. Update Pose command to 0.9, add some new options (commit: 9bd312a) (details)
  13. Fix error in dLocation constructor (commit: 2e19749) (details)
  14. Revert "Fix error in dLocation constructor" (commit: 6772480) (details)
  15. Allow dLists in player.target (commit: 9f8a8c6) (details)
Commit b2f4d1ab0d9c325db0d5b618832d53a7cc2fa563 by mcmonkey4eva
Prevent event duplication

A quick fix to trim away extra events if they somehow wind up cloned
(EG, item.identify() and material.identify() both lining up)
An existent example: on player shoots bow: fires twice without this
commit.
(commit: b2f4d1a)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/events/EventManager.java (diff)
Commit 456e9b315cf27411da1182c430e2b30b7bec6daf by mcmonkey4eva
Clean element.is.than error handling

Two fixes:
- 'less' is now permitted in addition to 'LESS' (case-insensitive)
- a fully bad operator (EG '.is[potato]') will respond with a simple
error message rather than a full stacktrace.

Also, player.target, return Element.NULL rather than a real null
pointer.
(commit: 456e9b3)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Element.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dPlayer.java (diff)
Commit 2764d4870cef26af0e95e11819d46befca3f6d7d by mcmonkey4eva
Add element.totitlecase

Returns The Element In Title Case.
(Named as such to prevent conflicts with such tags as 'inventory.title')
Pretty straightforward tag
(commit: 2764d48)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Element.java (diff)
Commit c4d0fc05a566f92aa289b1430e6f46ea236ae8f6 by mcmonkey4eva
Add location.yaw.simple

Returns north/south/east/west
Again, straightforward tag.
(commit: c4d0fc0)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dLocation.java (diff)
Commit b0254211346c46c6b09779e81374482e9118086c by mcmonkey4eva
Prevent ParticleEffect errors + clean meta

This will prevent the ParticleEffect from throwing errors when
accidentally sending Effect packets to NPCs.
Also cleaning up some meta and error messages for English readability.
(commit: b025421)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dPlayer.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/Comparable.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/requirements/RequirementChecker.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/ParticleEffect.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dLocation.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dInventory.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/ReflectionUtil.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Element.java (diff)
Commit 5d01e6f8244fc554166c27d8b95d811caef7b5d2 by mcmonkey4eva
Fix minor logic error in tag manager debug

' is an invalid dObject' wouldn't show if the tag had a [Name]. A quick
parenthesis fixes that.
(commit: 5d01e6f)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/TagManager.java (diff)
Commit 94f52b4a762f191a67c4c1d4cb5da98638f2a25b by mcmonkey4eva
Allow - switch on a fence_gate

Fence Gate objects (and who knows what other blocks) require a Player
link to flip, this commit will do everything possible to link a player
for these calculations (It doesn't particularly matter which player, or
even that it's a real player)

Also add some missing constructors to the dObject meta.
(commit: 94f52b4)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/world/SwitchCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dObject.java (diff)
Commit 4db29f2048ac7b098063940321328f252b41b905 by morphanone
Add <[email protected]_pose[<name>]> and <[email protected]_pose[<name>]>; Fix some tag meta

<[email protected]_pose[<name>]> returns a defaulted dLocation where x, y, and z
are 0 and the world is the first world Bukkit gives us.
(commit: 4db29f2)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dNPC.java (diff)
Commit 486a5fc671e830746ee2a5b62cbe28476c5155f6 by alain.blanquet
Add filter on tag player.target

Now we can specify a npc/<entity>/<entity.type> as target.
few examples
<[email protected][npc] will target only npc
<[email protected][player] will target only npc
<[email protected][e@123|e@321|zombie] will target only entity 123 or 321
or zombie
(commit: 486a5fc)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dPlayer.java (diff)
Commit a90ff799fa15258e5f96e33b7bea0ee55c6cc33b by morphanone
Add "update" to Inventory command

At the moment, only player inventories can be "updated", but it's a
needed feature.
(commit: a90ff79)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dInventory.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/CommandRegistry.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/item/InventoryCommand.java (diff)
Commit 9bd312a336a242f70a88618a44ebe0d6684d8019 by morphanone
Update Pose command to 0.9, add some new options

You can now add and remove NPC poses.
This also stopped a few NPEs, such as the player being the target and it
never checking if an NPC exists... When an NPC HAS to exist.
(commit: 9bd312a)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/npc/PoseCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/CommandRegistry.java (diff)
Commit 2e19749feebaf2b98d7b7b686b1811d072e8519c by morphanone
Fix error in dLocation constructor

I have no idea how long this has been here, or what kind of trouble it's
made.
(commit: 2e19749)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dLocation.java (diff)
Commit 6772480c29ce9e1be1947dea84ba13a3d74e2be2 by mcmonkey4eva
Revert "Fix error in dLocation constructor"

This reverts commit 2e19749feebaf2b98d7b7b686b1811d072e8519c.
(commit: 6772480)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dLocation.java (diff)
Commit 9f8a8c6d9a1a3a972a44b7a1de8b7f5adf4172db by mcmonkey4eva
Allow dLists in player.target

This will allow direct input of a dList (li@x|y) in the player.target
tag

Also cleaning the meta a little as always

Also lighten an error in InventoryCommand
(commit: 9f8a8c6)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dPlayer.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/item/InventoryCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/core/UtilTags.java (diff)