Comments (4)
FLAG PLAYERRESPONSEFLAG:<*>
should capture the player text... the name can be anything, the <*>
is the important part.
as far as using flag datas in commands... YEP!
EXECUTE AS_SERVER "builder load <FLAG.PLAYER:BUILDER>"
... will replace the tag with the flag value.. for future reference, you can also do <FLAG.PLAYER:BUILDER:Default Text>
if you are unsure the flag has any data. If none is found, It'll use the 'Default Text' part of that tag. Can also use FLAG.DENIZEN or FLAG.GLOBAL for the other two flag types. remember: FLAG command defaults to a player flag.
No follow command yet... but I'll put that on my list.
from denizen.
Awesome, thanks! I will make script available for all once I have finished it.
from denizen.
scripts.citizensnpcs.com :)
from denizen.
For the record, <*> is now <player.chat_history> in 0.8. Can also get past messages by specifying context of the sub-type. For example <player.chat_history[2]> will get the second to last message of the player.
from denizen.
Related Issues (20)
- Plugin Fails to Enable on 1.18.2
- mechanism loot_table_id HOT 1
- MongoDB
- NPCs Sinking into ground instead of sitting HOT 1
- Spread Around New Tag Param Usage, Static Tag Registration, new Property format, and Command autoExecute HOT 1
- Short-circuit tags HOT 1
- Move Denizen packet listener to async, HOT 2
- Chicken EggLayTime mechanism feature HOT 1
- folder delete
- Improve Tag <PlayerInventoryTag.map_slots> HOT 1
- Add wolf collar dyed and cat collar dyed event HOT 2
- New FurnaceStartsSmeltingEvent returns an incorrect total_cook_time context value
- Discord Appeal HOT 1
- Custom explorer maps creation
- Update to 1.19.4 HOT 1
- Nested translate tags produce broken strings HOT 2
- Oraxen Support HOT 3
- Some artifacts are missing in the published Maven artifacts HOT 1
- java.lang.NoClassDefFoundError: net/citizensnpcs/trait/HologramTrait$HologramDirection HOT 2
- NoClassDefFoundError "craftbukkit/v1_20_R3/inventory/CraftInventoryCustom" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from denizen.