#(vukajloo) Other plugin Placeholders
31 messages · Page 1 of 1 (latest)
(vukajloo) Other plugin Placeholders
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
There are no mechanisms to change the plot owner, but if you have enough information to run a command from PlotSquared by console you can use
!c execute
server
execute [as_player/as_op/as_npc/as_server] [<Bukkit-command>] (silent)
Executes an arbitrary server command as if the player, NPC, or server typed it in.
Allows the execution of server commands through a Denizen script.
Commands can be executed as the server, as an npc, as an opped player, or as a player, as though it was typed by the respective source.
Note that you should generally avoid using 'as_op', which is only meant for very specific special cases. 'as_server' is usually a better option.
Note: do not include the slash at the start. A slash at the start will be interpreted equivalent to typing two slashes at the front in-game.
Note that...
I thought about that, im just wondering am i able to use placeholders from other plugin for scoreboard created by denizen, and make a custom sistem built on plugins (PlotSquared for exemaple) features like tranfering plot ownershit in custom event
Basically am i totaly able to manipulate awaible features of other plugins via script?
you can even re-create those plugins and their features using Denizen.
for the placeholders theres integration with placeholder api so Denizen can use/create placeholders
as for the manipulation of the other plugin u either use their commands (if they dont have their features built into Denizen) or u can alter their data files
easier if you have em on a database like mysql ^
I know, but im not that smart to create like region claim, claculations, selections and all sort of geometrical things
Math is not my thing
no
if there is no command and no api you can not do that
!lang placeholderapi
Using Depenizen with PlaceholderAPI allows you to use !tag placeholder and !tag placeholder.player,
and also allows you to read Denizen tags from any PAPI placeholder location, written in the format: %denizen_<tag-here>%
For example: %denizen_<player.flag[MyFlag]>%
Depenizen, PlaceholderAPI
Depenizen Bridges
You can use any tag as placeholder for other plugins
You can also use placeholders from other plugins in denizen
!t placeholder
Returns the value of the placeholder.
For example, <placeholder[server_name]>
Note that you do not need to include the "%" marks on the placeholder.
The queue's linked player, if any, will be linked to the placeholder as well for any player-specific placeholder usage.
Note: this should generally only be used for reading values from other plugins not already supported by Depenizen.
This should not be used for cases where a Denizen tag already exists, or should exist.
Depenizen, PlaceholderAPI
ElementTag
Hey, i just checked documentation, denizen supports plotsquared, does that mean i am able to manipulate this plugin?
As far the integration goes, yes
^
One more qustion, im not sure if this depends on plugins integration...
Whould i be able to make custom tax system with denizen that would claculate some informations from plotsquared (like how many plots player owns)
Returns a list of plots a player has in a world. Exclude the context to get plots in all worlds.
Depenizen, PlotSquared
ListTag(PlotSquaredPlotTag)
Thats what i thought about, i will use execute to run cmds