Coder Social home page Coder Social logo

denizenscript / depenizen Goto Github PK

View Code? Open in Web Editor NEW
58.0 12.0 43.0 125.26 MB

Addon to Denizen that provides script support for other major plugins.

License: MIT License

Java 100.00%
java bungeecord denizen bukkit sponge-servers spigot bungeecord-network

depenizen's Introduction

Depenizen

Depenizen: Adds bridges between external plugins and Denizen!

Licensing pre-note:

This is an open source project, provided entirely freely, for everyone to use and contribute to.

If you make any changes that could benefit the community as a whole, please contribute upstream.

The short of the license is:

You can do basically whatever you want, except you may not hold any developer liable for what you do with the software.

Previous License

Copyright (C) 2014-2019 The Denizen Script Team, All Rights Reserved.

The long version of the license follows:

The MIT License (MIT)

Copyright (c) 2019-2024 The Denizen Script Team

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

depenizen's People

Contributors

0tickpulse avatar blablubbabc avatar blackcoyote avatar bloodeko avatar breadcrumbistaken avatar davight avatar fortifier42 avatar heypr avatar hydroxycobalamin avatar j4c3 avatar jeebiss avatar lexiccn avatar madservlet avatar mcmonkey4eva avatar mergu avatar mike0so avatar minikiwinz avatar morphan1 avatar mwthorn avatar ph4i1ur3 avatar pikamug avatar sxrwahrheit avatar tal5 avatar waterquarks avatar writeescape avatar xenmai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

depenizen's Issues

Heroes InCombat

It would be helpful to be able to check if the player is in combat.

In Heroes the reference we are looking for is hero.isInCombat() (which returns true or false)

Thanks for looking.

Survival Games

Hej guys i was wondering if you will be able to add survival games support for depnizen.
Its dosent matter with plugin would u chose, i just wondering if there will be way to chose "start game" as trigger. Please let me know if you could do that. Thanks for your work - becouse of u minecraft servers are better place for everyone.

Java exceptions on disconnects.

I issues /ex bungee all | - execute as_server "stop" }


23:50:21 [INFO] +> [SocketServer] Client lobby has disconnected from SocketServer: Error sending data to client: Broken pipe
23:50:21 [INFO]  ERROR! Internal exception was thrown!
23:50:21 [SEVERE] java.net.SocketException: Broken pipe
23:50:21 [SEVERE]     at java.net.SocketOutputStream.socketWrite0(Native Method)
23:50:21 [SEVERE]     at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
23:50:21 [SEVERE]     at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
23:50:21 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
23:50:21 [SEVERE]     at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
23:50:21 [SEVERE]     at java.io.DataOutputStream.flush(DataOutputStream.java:123)
23:50:21 [SEVERE]     at net.gnomeffinway.depenizenbungee.sockets.ClientConnection.send(ClientConnection.java:64)
23:50:21 [SEVERE]     at net.gnomeffinway.depenizenbungee.sockets.SocketServer.removeClient(SocketServer.java:144)
23:50:21 [SEVERE]     at net.gnomeffinway.depenizenbungee.sockets.ClientConnection.run(ClientConnection.java:196)
23:50:21 [SEVERE]     at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
23:50:21 [SEVERE]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
23:50:21 [SEVERE]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
23:50:21 [SEVERE]     at java.lang.Thread.run(Thread.java:745)
23:50:21 [SEVERE] Task BungeeTask(sched=net.md_5.bungee.scheduler.BungeeScheduler@6ae4d035, id=14, owner=net.gnomeffinway.depenizenbungee.Depenizen@54217e66, task=net.gnomeffinway.depenizenbungee.sockets.ClientConnection@2337022a, delay=0, period=0, running=false) encountered an exception
java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
    at java.util.HashMap$ValueIterator.next(HashMap.java:950)
    at net.gnomeffinway.depenizenbungee.sockets.SocketServer.removeClient(SocketServer.java:143)
    at net.gnomeffinway.depenizenbungee.sockets.ClientConnection.run(ClientConnection.java:196)
    at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
23:50:21 [SEVERE] Task BungeeTask(sched=net.md_5.bungee.scheduler.BungeeScheduler@6ae4d035, id=11, owner=net.gnomeffinway.depenizenbungee.Depenizen@54217e66, task=net.gnomeffinway.depenizenbungee.sockets.ClientConnection@1de76b6, delay=0, period=0, running=false) encountered an exception
java.lang.NullPointerException
    at net.gnomeffinway.depenizenbungee.sockets.SocketServer.removeClient(SocketServer.java:135)
    at net.gnomeffinway.depenizenbungee.sockets.ClientConnection.run(ClientConnection.java:196)
    at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
23:50:21 [SEVERE] Task BungeeTask(sched=net.md_5.bungee.scheduler.BungeeScheduler@6ae4d035, id=15, owner=net.gnomeffinway.depenizenbungee.Depenizen@54217e66, task=net.gnomeffinway.depenizenbungee.sockets.ClientConnection@8681af3, delay=0, period=0, running=false) encountered an exception
java.lang.NullPointerException
    at net.gnomeffinway.depenizenbungee.sockets.SocketServer.removeClient(SocketServer.java:135)
    at net.gnomeffinway.depenizenbungee.sockets.ClientConnection.run(ClientConnection.java:196)
    at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
23:50:33 [INFO] +> [SocketServer] Client survival has disconnected from SocketServer: Client socket closed

Support for <tag.name>

Sorry if this is somehow already implemented, but support for the .name tag suffix would be a great help, as there isn't (or at least I wasn't able to find) a way to remove the object type from depenizen tags (eg. town@).
In case the above isn't clear, I mean this:

<player.town> now returns town@SomeTown
<player.town.name> would return just SomeTown

PvP Arena support

Dev.bukkit page: http://dev.bukkit.org/bukkit-plugins/pvparena
Possible tags:
"player[player_name].pvparena" true/false if player is in an arena
"player[player_name].pvparena[arena_name]" true/false if player is in arena_name
"player[player_name].pvparena.team" Name of the team player's in, ffa if mode is ffa, false/none if player isn't in any arena.
"pvparena[arena_name].players" number of players
"pvparena[arena_name].players.team_name" number of players in team_name
"player[player_name].pvparena.class" player's class

It would be great if at least some of these tags could be implemented.
Similar tags could be probably used for any other plugin with same concept such as BattleArena or UltimateArena.

ChessCraft link

We control chesscraft, tell me if you need anything to fully enhance a chesscraft link.

  • ability to create and control chessboards
  • events for chess game completion (including winner/loser), ...

<[email protected]> problems

I need to check if a location is claimed, but always get Unfilled attributes '[town]' for tag [email protected]!.
I've tried using <player.location.town>, [email protected], even <[email protected].town>. Also tried with notable instead of player location, but always the same error and null. Am I doing something wrong, or is the tag bugged?

Depenizen is version 0.2 build 182
Denizen 0.9.4 b1441
Citizens 2.0.11 b1070

bungeefier support :)

I am really greatfull, that you added votifier support, but since our server grew we changed to a bungeecord-system.
Because of that Votifier won't work anymore :(
But i found a Plugin for Bungeecord, similar to Votifier.
Could you add Depenizen support for this one too?

Link to Plugin: http://www.spigotmc.org/resources/bungeefier.57/

Example Listener (on page):

public class BungeeListener extends Plugin implements Listener{
    public void onEnable(){
        this.getProxy().getPluginManager().registerListener(this, this);

    }

    @Subscribe
    public void onPlayerVote(VotifierEvent e){
        Vote v = e.getVote();
ProxyServer.getInstance().getPlayer(v.getUsername()).sendMessage("I saw you voted. Thank you. :3");
    }
}

Skyblock Support

Support a skyblock plugin, any of 'em, pls.

REQUESTED:
- skyblock create [whatever arguments the system allows, EG schematic choice] create a new skyblock for the linked player
- skyblock delete [skyblock thingy]
<player.skyblocks> a list of all skyblocks a player has - including the skyblock's location and whatever other info (EG, schematic choice) + list of allowed players
<server.skyblocks> a list of all skyblocks that exists, including details above + owner

LogBlock

It would be nice to be able to return who edited a block using denizen, for example <[email protected]> would return a list of placed blocks on that location in order of most recent first, so .get[1] would give the last one. also location.destroyed, location.edits.. or anything of that sort, you guys can probably figure out a better way to turn this into tags!

Towny events

Can you can a denizen tag for a player towny modes [email protected]

In towny you can toggle modes like spy/plotborder/map and the townychat saves what channel you do in there to. it looks like (mode,mode,etc)

With this tag you can check if someone is in a townychat channel and do stuff "if in local this do whatever"

Towny - events & new tags

Would it be possible to add even triggers for towny?

Something like this:
on player enters/leaves [town]
context: player, town name, nation name (if any), town's board, capital (town is a nation capital - true/false)
maybe even determine: string (to replace towny's message)

Edit: new tags would be amazing as well:

[email protected]
returns number of outposts of the town, 0/false if no outposts

Faction Taged nulled

Thanks for the quick answer and the good job.

But it's not work this time

so this time
faction[mercenaire].balance=40.0
faction[mercenaire].home=faction[mercenaire].home
faction[mercenaire].isopen=false
faction[mercenaire].ispeaceful=false
faction[mercenaire].ispermanent=false
faction[mercenaire].leader=null
faction[mercenaire].playercount=9
faction[mercenaire].power=88.99999999999989
faction[mercenaire].relation[LeCerclesDesSages]=null
faction[mercenaire].size=144

player.faction.name > work

player.factions.power > null
player.faction.role > null
player.factions.role > null
player.faction.title > null
player.factions.title > null

if i can help you to debug this plugin it's pretty cool. I realy like your work and i need it.

more over i also have this error too
http://paste.ehck.fr/?ddecd19cd9ebc62e#vRm3Fes6e49FkP+drHpSb8JwK3X91OqaDpVkOIMXXqQ=

Worldguard Regions

Hello,

I would like to suggest a event: on player enters region r@<region.name> and a On player exit event since when using worldguard custom flags & region commands it does not recognize the denizen on command. I could use /ex but as players doesn't have permission to use that CMD it would be worthless to them.

Could this be done?

Thanks in advance!

Heroes

Would love to see tags for primary and secondary class (including NPCs, which by some miracle seem to register in heroes), experience, and whether a player has access to a given skill, recipe group, or permission skill group. Commands could be implemented, though it's not vital as the built-in admin commands which one could - execute are fairly extensive.

http://dev.bukkit.org/bukkit-plugins/heroes/

HyperMerchant / HyperConomy

Can you add support for the Hypermerchant plugin?

i.e "on player opens transaction"
"on player closes transaction"
"on player buys item"
"on player sells item"
and the ability to get the item and value of the purchase, as well as the ability to cancel?
http://dev.bukkit.org/bukkit-plugins/hyperconomy/
http://dev.bukkit.org/bukkit-plugins/hypermerchant/files/9-hyper-merchant-1-21/

Here's links for the HyperConomy and HyperMerchant.
Just an idea. No worries if not.

Best regards

Ares

Null pointer exception when using location tag on wilderness

[19:01:27 INFO]: Cr0at issued server command: /ex narrate <player.location.town||null>
[19:01:27 INFO]: Starting InstantQueue 'EXCOMMAND_AdvertisersSerumDx'...
[19:01:27 INFO]: Queue 'EXCOMMAND_AdvertisersSerumDx' Executing: NARRATE
"<player.location.town||null>"
[19:01:27 INFO]: +- Executing dCommand: NARRATE/p@Cr0at ---------+
[19:01:27 INFO]: ERROR! Internal exception was thrown!

19:01:27 WARN: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:01:27 WARN: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
19:01:27 WARN: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
19:01:27 WARN: at java.lang.reflect.Method.invoke(Method.java:606)
19:01:27 WARN: at net.aufdemrand.denizencore.tags.TagManager.fireEvent(TagManager.java:75)
19:01:27 WARN: at net.aufdemrand.denizencore.tags.TagManager.readSingleTag(TagManager.java:242)
19:01:27 WARN: at net.aufdemrand.denizencore.tags.TagManager.tag(TagManager.java:274)
19:01:27 WARN: at net.aufdemrand.denizencore.tags.TagManager.fillArguments(TagManager.java:323)
19:01:27 WARN: at net.aufdemrand.denizencore.scripts.commands.CommandExecuter.execute(CommandExecuter.java:203)
19:01:27 WARN: at net.aufdemrand.denizencore.scripts.queues.ScriptEngine.revolve(ScriptEngine.java:51)
19:01:27 WARN: at net.aufdemrand.denizencore.scripts.queues.ScriptQueue.revolve(ScriptQueue.java:660)
19:01:27 WARN: at net.aufdemrand.denizencore.scripts.queues.core.InstantQueue.onStart(InstantQueue.java:53)
19:01:27 WARN: at net.aufdemrand.denizencore.scripts.queues.ScriptQueue.start(ScriptQueue.java:519)
19:01:27 WARN: at net.aufdemrand.denizen.Denizen.onCommand(Denizen.java:1018)
19:01:27 WARN: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
19:01:27 WARN: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
19:01:27 WARN: at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:645)
19:01:27 WARN: at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)
19:01:27 WARN: at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)
19:01:27 WARN: at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
19:01:27 WARN: at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
19:01:27 WARN: at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
19:01:27 WARN: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
19:01:27 WARN: at java.util.concurrent.FutureTask.run(FutureTask.java:262)
19:01:27 WARN: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683)
19:01:27 WARN: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
19:01:27 WARN: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623)
19:01:27 WARN: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526)
19:01:27 WARN: at java.lang.Thread.run(Thread.java:745)
19:01:27 WARN: Caused by: java.lang.NullPointerException
19:01:27 WARN: at com.palmergames.bukkit.util.NameValidation.filterName(NameValidation.java:122)
19:01:27 WARN: at com.palmergames.bukkit.util.NameValidation.checkAndFilterName(NameValidation.java:32)
19:01:27 WARN: at com.palmergames.bukkit.towny.db.TownyDatabaseHandler.getTown(TownyDatabaseHandler.java:133)
19:01:27 WARN: at net.gnomeffinway.depenizen.extensions.towny.TownyLocationExtension.getAttribute(TownyLocationExtension.java:56)
19:01:27 WARN: at net.aufdemrand.denizen.objects.dLocation.getAttribute(dLocation.java:1538)
19:01:27 WARN: at net.aufdemrand.denizen.objects.dEntity.getAttribute(dEntity.java:1617)
19:01:27 WARN: at net.aufdemrand.denizen.objects.dPlayer.getAttribute(dPlayer.java:1674)
19:01:27 WARN: at net.aufdemrand.denizen.tags.core.PlayerTags.playerTags(PlayerTags.java:79)
19:01:27 WARN: ... 29 more
[19:01:27 INFO]: Filled tag <player.location.town||null> with 'null'.
[19:01:27 INFO]: +> Executing 'NARRATE': Narrating='null' Targets='[p@Cr0at]'
[19:01:27 INFO]: Completing queue 'EXCOMMAND_AdvertisersSerumDx' in 5ms.

Broken region tags.

Problem:
/ex narrate <player.location.regions.get[1].owners> and /ex narrate <player.location.regions.get[1].members> are returning with li@ regardless or owners or members.

Steps to reproduce problem:

  1. Stand in region with a owner.
  2. Type /ex narrate <player.location.regions.get[1].owners>

Log: http://mcmonkey.org/paste/14566
Screenshot: https://dl-web.dropbox.com/get/2015-03-18_03.22.24.png?_subject_uid=276334414&w=AAAxnsHiIAhwaYeulyYv0C8hFeFMxyED3goG3dOMgGJiZQ

Updated with cleaner log.

Compatibility with jobs 2.12.0

Seem that depenizen (212) is now not compatible with Jobs 2.12.0, please update it....
(ps i already asked to update his plugin for depenizen and told that is depenizen fault
reference http://dev.bukkit.org/bukkit-plugins/jobs/tickets/622-depenizen-compatibility/ )

This is the console error:
[01:40:16] [Server thread/ERROR]: Could not pass event ReplaceableTagEvent to Depenizen v0.2.0 (build 212)
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:299) ~[spigot.jar:git-Spigot-1604]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1604]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-1604]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-1604]
at net.aufdemrand.denizen.tags.TagManager.tag(TagManager.java:184) [denizen-0.9.5-SNAPSHOT.jar]
at net.aufdemrand.denizen.tags.TagManager.fillArguments(TagManager.java:231) [denizen-0.9.5-SNAPSHOT.jar]
at net.aufdemrand.denizen.scripts.commands.CommandExecuter.execute(CommandExecuter.java:174) [denizen-0.9.5-SNAPSHOT.jar]
at net.aufdemrand.denizen.scripts.queues.ScriptEngine.revolve(ScriptEngine.java:55) [denizen-0.9.5-SNAPSHOT.jar]
at net.aufdemrand.denizen.scripts.queues.ScriptQueue.revolve(ScriptQueue.java:604) [denizen-0.9.5-SNAPSHOT.jar]
at net.aufdemrand.denizen.scripts.queues.core.TimedQueue.access$000(TimedQueue.java:11) [denizen-0.9.5-SNAPSHOT.jar]
at net.aufdemrand.denizen.scripts.queues.core.TimedQueue$1.run(TimedQueue.java:150) [denizen-0.9.5-SNAPSHOT.jar]
at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) [spigot.jar:git-Spigot-1604]
at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:641) [spigot.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1604]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1604]
Caused by: java.lang.IllegalAccessError tried to access method me.zford.jobs.container.JobsPlayer.(Ljava/lang/String;)V from class net.gnomeffinway.depenizen.support.plugins.JobsSupport
at net.gnomeffinway.depenizen.support.plugins.JobsSupport.playerTags(JobsSupport.java:26) ~[?:?]
at net.gnomeffinway.depenizen.support.SupportManager.findPlayerTags(SupportManager.java:77) ~[?:?]
at net.gnomeffinway.depenizen.support.SupportManager.tagListener(SupportManager.java:144) ~[?:?]
at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_55]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_55]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:296) ~[spigot.jar:git-Spigot-1604]
... 17 more

MobArena

MobArena (http://dev.bukkit.org/bukkit-plugins/mobarena/) has been on of the most used PvE plugins out there. It would be cool to create Denizen support to allow more use of the arenas.
My idea was of having a NPC give a quest to compete in a MobArena, then maybe give the player goals such as getting to a specefic wave or kill a certain amount of monsters in the arena.
Other ideas are listed at the buttom. As for rewards it could be unlocking new arenas or classes.

It would be cool to add events such as:
"on mobarena start (in )"
"on mobarena finish (in )"
"on mobarena next wave (in )"

Then maybe have context like:
"<context.arena>" returns the name of the arena
"<context.wave>" returns the current wave they are/ended on (as an integer?)
"<context.players>" returns a dList of players who are/were in the arena

Also maybe tags such as:
"<ma_status[]" checks the staus on a arena, could be OPEN, CLOSED or RUNNING
"<ma_spawners[]>" returns a list of dLocations of spawners (for wave spawning)
"<ma_lobby_enter[]>" returns the dLocation of the lobby teleport spot
"<ma_arena_enter[]>" returns the dLocation of the arena teleport spot
"<ma_arenas>" returns a list of all arenas
"<ma_in_arena[]>" returns a dlist of players in the arena
"<[email protected]_lastarena>" returns the name of the arena the player last arena played on
"<[email protected]_lastwave>" returns the last wave the player ended on from last arena
"<[email protected]_damageDone>" returns how much damage the player dealt from last arena
"<[email protected]_damageTaken>" returns how much damage the player took from last arena
"<[email protected]_kills>" returns how many kills the player got from last arena
"<[email protected]_class>" returns the class name the player used from last arena

Finally some examples for use could be:
on mobarena finish:
- if <context.wave> > <server.flag[ma_highestwave]> {
- announce "The record on <server.flag[ma_highestwave]> waves was beaten with <context.wave> waves cleared!"
## Give bonus rewards to <context.players> or save them in a flag for later use
}

Another example but with use of npc interact:

  • if <player.ma_class> == "Archer" && <player.ma_lastwave> > 10 {
    • chat "You seem pretty good with your skills as an archer. Want to join our Ranger Clan?"
      }

Add meta

Add some Depenizen meta, maybe?
So spazz's .depenizen command actually does something ^^

PvP Stats

Just wanting to get a simple setup where I can have an NPC stand still and change based on the plugin PvP Stats. The players with the 3 most kills will be standing in a line and will update as someone achieves more kills than them.

TerrainControl

Hello, I would like to request tag support for terraincontrol biome names
As example, being ingame If type /tc biome to get the current biome name ( Which is a implented feature of TerrainControl ) I get the correct biome I'm standing in at that moment. Sadly this doesnt works for the denizen tags at all.

Here's the API: https://github.com/MCTCP/TerrainControl/wiki/Developer-page

I would like this tag to support TerrainControl:
<player.location.biome.formatted>

Thanks in advance!

Depenizen errors registering flags

After updating to Depenizen build 235, there are some errors on startup. Haven't had the time to test much, but flag <t@[town_name].size> throws an error "Invalid object type! Could not fetch 'town'!", but eg. <player.town.name> works fine.
Error log: http://pastebin.com/qk1i1Lpd
Server version: git-Spigot-fa7cbf9-59dd2dd (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)

Bungee - way to read tags off other servers

I imagine something like
- ~bungee read_tag server:PotatoLand tag:server.flag[potatoCount] save:myPotatoes
- announce "<entry[myPotatoes].result> potatoes left before the famine!"

Heroes party

It would be usefull a tag to get the members of a heroes party as a dList of dPlayers.
You can get the party using hero.getParty().getMembers(), it will return a set of Hero but I'm not sure of how to convert it from Hero to dPlayers.

crack shot guns support

Hello can you guys make crackshot guns support would be cool to have npcs to be able to shoot players

Denizen script created NPC's Not working because of Faction Errors

Im not sure if this is an issue with Denizen or Factions plugin, but my denizen scripts cannot create NPCs because of Faction errors. PLease fix this. It worked fine before I updated to new factions.

55:00 PM CONSOLE: "<npc.entity_type>" "==" "iron_golem" "playsound" 10:55:00 PM CONSOLE: "location:<npc.location>" "sound:irongolem_walk" "else" 10:55:00 PM CONSOLE: "if" "<npc.entity_type>" "==" "magma_cube" "playsound" 10:55:00 PM CONSOLE: "location:<npc.location>" "sound:magmacube_jump" "else" 10:55:00 PM CONSOLE: "if" "<npc.entity_type>" "==" "mushroom_cow" "playsound" 10:55:00 PM CONSOLE: "location:<npc.location>" "sound:cow_idle" "else" "if" 10:55:00 PM CONSOLE: "<npc.entity_type>" "==" "ocelot" "{" "-" "random" "{" "-" 10:55:00 PM CONSOLE: "playsound" "location:<npc.location>" "sound:cat_meow" "-" 10:55:00 PM CONSOLE: "playsound... * snip! * 10:55:00 PM CONSOLE: [INFO] +- Executing dCommand: IF/p@khomitchr -+ 10:55:00 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:00 PM CONSOLE: [INFO] Filled tag <npc.entity_type> with 'OCELOT'. 10:55:00 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:00 PM CONSOLE: [INFO] Filled tag <npc.location> with 10:55:01 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:01 PM CONSOLE: [INFO] Filled tag <npc.entity_type> with 'OCELOT'. 10:55:01 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:01 PM CONSOLE: [INFO] Filled tag <npc.location> with 10:55:01 PM CONSOLE: '[email protected],65.0,-60.07384249727509,0.0,51.40892,world'. 10:55:01 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:01 PM CONSOLE: [INFO] Filled tag <npc.entity_type> with 'OCELOT'. 10:55:01 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:01 PM CONSOLE: [INFO] Filled tag <npc.entity_type> with 'OCELOT'. 10:55:01 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:01 PM CONSOLE: [INFO] Filled tag <npc.location> with 10:55:01 PM CONSOLE: '[email protected],65.0,-60.07384249727509,0.0,51.40892,world'. 10:55:01 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:01 PM CONSOLE: [INFO] Filled tag <npc.entity_type> with 'OCELOT'. 10:55:01 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:01 PM CONSOLE: [INFO] Filled tag <npc.location> with 10:55:01 PM CONSOLE: '[email protected],65.0,-60.07384249727509,0.0,51.40892,world'. 10:55:01 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:01 PM CONSOLE: [INFO] Filled tag <npc.entity_type> with 'OCELOT'. 10:55:01 PM CONSOLE: [INFO] ERROR! No Factions player data found for 'test2'! 10:55:01 PM CONSOLE: [INFO] Filled tag <npc.entity_type> with 'OC

CrackShot Support

I am using the CrackShot plugin which includes custom weapons. The problem is that I can't detect the player (killer) who has killed a player.
Can there be a context that returns the player (killer) who has used any crackshot weapon to kill with?
On a side note, <context.damager> returns the entity used from the killer, but not direct. Example "SNOWBALL"

SkillAPI

bukkitdev page: http://dev.bukkit.org/bukkit-plugins/skillapi/

Any of these events and tags would be great help for making Denizens and SkillAPI work better together.
on player professes (to )
on player improves ()
on player downgrades ()
on player learns ()
on player casts
on player gains <effect/status>

<player.SkillAPI_class>
<player.SkillAPI.level>
<player.SkillAPI[]> - show skill level or false if player doesn't have the skill
<player.SkillAPI[].hasskill> - true/false
<player.SkillAPI_sp> - amount of skill points

Towny commands not working

This has been discussed a bit on irc, but I thought I may put it here as well.

According to the wiki, depenizen should add several commands for towny, but none of them are working (unknown sub-command errors). It seems that part of the code concerning handling them is missing.

.has_town Tag Addition?

Could you add a .has_town tag so I can check if the player belongs to a town or not before referencing their town.name without having to worry about errors being generated.

broken .region tags

Region tags are returning with the tag and creating an internal error. This has persisted through multiple updates. I have done all the debug/troubleshooting I can think of. I made sure to update I have tried the latest dev and main builds of denizen.

dScript: /ex narrate
Server Log: http://mcmonkey.org/paste/12719

Summery of error:

Start server
log on
type: /ex narrate
returns "player.location.regions"
get internal error
log out

Are you even in a region? Yes.

AntiCheat Hook Possibility?

Would it be possible for Depenizen to add tags so Denizen can reference a person's "hack level" according to AntiCheat?

I wanted to make a minigame area where people are only allowed in if their "hack level" is under a certain amount of points.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.