Skip to content
Failed

Changes

Summary

  1. Give compatibility with Custom Mobs plugin (commit: c77f25c) (details)
  2. Update KillListenerInstance.java (commit: 1836aaa) (details)
  3. Update CommandRegistry.java (commit: 38f79bf) (details)
  4. Update CommandRegistry.java (commit: d5bcdbc) (details)
  5. Clean CommandExecuter debugging (commit: 841ab52) (details)
  6. Add dCore link to the readme (commit: 9efede7) (details)
  7. Add npc cancels navigation to the smart system (commit: a391f6f) (details)
  8. Fix script.yaml_key (commit: 24c405f) (details)
  9. Catch event errors gracefully (commit: d88a8db) (details)
  10. Don't misread empty strings, don't output pointlessly (commit: 16329f0) (details)
  11. Fix annoying dInventory debug bug (commit: 0a9cf42) (details)
  12. Allow empty alias list for command scripts (commit: 565fdaa) (details)
  13. Add slot numbers to "drags in inventory" context (commit: a1c187a) (details)
  14. Stop workbenches from being opened by tags (commit: 16ac997) (details)
  15. Allow empty lists in commands (commit: bcdf6cf) (details)
  16. identify durations correctly (commit: fc8e0b0) (details)
  17. Improve the precision of in_ms and in_s (commit: 0b03f0c) (details)
  18. parse tag shouldn't expect a script entry (commit: 1bc2a4e) (details)
  19. Fix dNPC inventories (commit: bf0b78e) (details)
  20. Add an escape for exclamation marks (commit: 0de864c) (details)
  21. add cuboid.get_blocks[<material>] (commit: 0abb8c8) (details)
Commit c77f25cb1183ba792cc90fee8ef8c87478a9fa3a by vimattei
Give compatibility with Custom Mobs plugin

This would extend the compatibility of denizen with all the Custom Mobs plugins or mobs created by command blocks.
This would also solve this issue because MM offers commands to spawn and remove mobs, with the mobnames argument you can now check for the display name that you can set in the config (I think all the custom mobs plugins offer this feature) : https://github.com/Morphan1/Depenizen/issues/20

I used contains() instead of equalsIgnoreCase to check for the name because some plugins could add informations to the mob's name like the level or the health.

I tested this in local and should work fine.
I'm not sure of how to do pull request so i copied the new code from my local file in the file here, but everything should be in the right place :)
(commit: c77f25c)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/listeners/core/KillListenerInstance.java (diff)
Commit 1836aaa53908194054a59ad6cf58cc0b4097b6db by vimattei
Update KillListenerInstance.java
(commit: 1836aaa)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/listeners/core/KillListenerInstance.java (diff)
Commit 38f79bfb181413a8894b5a8cd0dc7326c7238bb3 by vimattei
Update CommandRegistry.java
(commit: 38f79bf)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/CommandRegistry.java (diff)
Commit d5bcdbcb3df9246bdccc8be58b96e87b024b4ca8 by vimattei
Update CommandRegistry.java
(commit: d5bcdbc)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/CommandRegistry.java (diff)
Commit 841ab52654666984c6e80284ee4096f431e6dcdf by mcmonkey4eva
Clean CommandExecuter debugging

"Arguments" "In" "Quotes" to properly indicate separation of args.
(commit: 841ab52)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/CommandExecuter.java (diff)
Commit 9efede7e5ef260610c368b5021de8975a22bdc07 by mcmonkey
Add dCore link to the readme

Also update the Depenizen link and the tutorial vid link
(commit: 9efede7)
The file was modifiedREADME.md (diff)
Commit a391f6f149f031f66819b7383bc6ce86fb1eaa54 by mcmonkey4eva
Add npc cancels navigation to the smart system

We already have a navigation smart event, smarten up cancelling with the
rest
(commit: a391f6f)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/events/core/NPCNavigationSmartEvent.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/core/NPCTags.java (diff)
Commit 24c405f198c463e9dfc909365ab3795c55733197 by mcmonkey4eva
Fix script.yaml_key

getConfigurationSection("") is theoretically invalid, but we use it,
so... handle it neatly.
(commit: 24c405f)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/ScriptContainer.java (diff)
Commit d88a8db3d73de095a9a3262978b27839c3f771c3 by mcmonkey4eva
Catch event errors gracefully

Or as graceful as printing a stack exception can be.
(commit: d88a8db)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/events/EventManager.java (diff)
Commit 16329f0561886f2b0a30de5bc2c89f90b3f91f13 by mcmonkey4eva
Don't misread empty strings, don't output pointlessly

arg is not a double if it's empty
that output is unneeded half the time... it should be an echoDebug at
best.
(commit: 16329f0)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/Comparable.java (diff)
Commit 0a9cf425500c164962815cff09b72cef99e98ffa by morphan1
Fix annoying dInventory debug bug

No, we're not trying to adjust the property, silly.
(commit: 0a9cf42)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/properties/inventory/InventoryTitle.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dInventory.java (diff)
Commit 565fdaa76639417f638665b20904180e9958553d by morphan1
Allow empty alias list for command scripts

Oops.
(commit: 565fdaa)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/CommandScriptContainer.java (diff)
Commit a1c187a44b938a3f9e8598d7e774b862df171bf6 by morphan1
Add slot numbers to "drags in inventory" context

For #859
(commit: a1c187a)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/WorldScriptHelper.java (diff)
Commit 16ac997b28c1bd9075c0fa53f6785aac51b53a75 by morphan1
Stop workbenches from being opened by tags

This is a somewhat error prone system if you don't know what you're
doing. I'm not sure how to handle sub-tag exceptions after the
dInventory returns null... Or if that should even be done...
@mcmonkey4eva ?
(commit: 16ac997)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dInventory.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dPlayer.java (diff)
Commit bcdf6cff97afd35ec9b36848c4f8912418ef9fba by mcmonkey4eva
Allow empty lists in commands

narrate t:li@, give li@, whatever.
(commit: bcdf6cf)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dList.java (diff)
Commit fc8e0b0393b87866fe78467eb5c7476576ef5d12 by mcmonkey4eva
identify durations correctly

object notation
(commit: fc8e0b0)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Duration.java (diff)
Commit 0b03f0c6a59fd671232333cd620aa56b28f93566 by mcmonkey4eva
Improve the precision of in_ms and in_s

Durations are based on ticks, not seconds. In theory, at least.
(commit: 0b03f0c)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Duration.java (diff)
Commit 1bc2a4e19d13285febac65c07d5d4a5c8037ebcd by mcmonkey4eva
parse tag shouldn't expect a script entry

Mostly just for the ?tag IRC command.
(commit: 1bc2a4e)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/core/ParseTags.java (diff)
Commit bf0b78e8ff81dfd6583884cf54428f8f1cc798ad by morphan1
Fix dNPC inventories

In some cases, dNPC wasn't properly registering to the registry... Bad!
(commit: bf0b78e)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/npc/dNPCRegistry.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dNPC.java (diff)
Commit 0de864ce31e6bd113c593317a58c51fcdc7d271b by mcmonkey4eva
Add an escape for exclamation marks

&exc instead of !, to avoid trouble putting an input in, for example, an
if statement.
(commit: 0de864c)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/core/EscapeTags.java (diff)
Commit 0abb8c87f1994d5191e4e30e5ad5bd05b4195a54 by mcmonkey4eva
add cuboid.get_blocks[<material>]

A way to simplify cuboid block reading
(commit: 0abb8c8)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dMaterial.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dCuboid.java (diff)