Denizen Scripter building portfolio

Status
This thread has been locked.

huffmanbran

Worldpainter/Forger
Premium
Feedback score
0
Posts
26
Reactions
7
Resources
0
Hi, I'm Huff.

I develop scripts with Denizen. I can write virtually anything that you may need however there are limitations to this plugin. For example, Denizen is a scripting plugin which allows for easier Minecraft plugin development however it's not as powerful as the Spigot API. So plugins such as Movecraft would be somewhat possible yet incredibly difficult. So before requesting I ask of you to take these certain limitations into account.

Now for the majority of plugins out there I can confidently say that Denizen can do the exact same thing as them if not a little better because it uses less power and it's a lot faster. Please note your server does require the Denizen plugin for any of this to work.

An example script by me:
DutyMode
Code:
dutyCommand:
  type: command
  name: duty
  usage: /duty
  description: Toggle dutymode.
  permission: mod.duty
  script:
  - if <player.has_flag[inDuty]> {
    - run dutyTaskOff
    - queue clear
    }
  - run dutyTaskOn
dutyTaskOn:
  type: task
  script:
  - flag player dutyLoc:<player.location>
  - flag player dutyInv:|:<player.inventory.list_contents>
  - flag player dutyArmor:|:<player.equipment>
  - inventory clear
  - adjust <player> gamemode:CREATIVE
  - flag player inDuty
  - narrate "Dutymode enabled, your inventory and location have been saved."
  - queue clear
dutyTaskOff:
  type: task
  script:
  - teleport <player.flag[dutyLoc]>
  - adjust <player> gamemode:SURVIVAL
  - adjust <player> inventory_contents:<player.flag[dutyInv].as_list>
  - adjust <player> equipment:<player.flag[dutyArmor].as_list>
  - flag player inDuty:!
  - flag player dutyLoc:!
  - flag player dutyInv:!
  - flag player dutyArmor:!
  - narrate "Dutymode disabled, returning to original state."
  - queue clear
KillCounters
Code:
killCounter:
    type: world
    events:
        on player dies:
        - narrate test
        - if !<context.damager.is_player> queue clear
        - flag <context.damager> playerKills:++
        - narrate "You have <context.damager.flag[playerKills]> kills." targets:<context.damager>
mobCounter:
   type: world
   events:
       on player kills entity:
       - if !<context.entity.name.contains_any[<creeper|skeleton|zombie|spider>]> queue clear
       - flag player mobKills:++
       - narrate "You have <player.flag[mobKills].as_int> hostile mob kill(s)."
getMobKills:
   type: command
   name: mobkills
   description: Show your hostile mob kill count.
   usage: /mobkills
   script:
   - narrate "You have <player.flag[mobKills].as_int> hostile mob kill(s)."
getKills:
    type: command
    name: kills
    description: Show your kill count.
    usage: /kills
    script:
    - narrate "You have <player.flag[playerKills].as_int> kill(s)."
resetKills:
    type: command
    name: resetkills
    description: Reset your kills.
    usage: /resetkills
    script:
    - flag player playerKills:0
    - narrate "Your kill count is now <player.flag[playerKills].as_int>."

Request forum:

Code:
Script name:
Description: (what does it do? be short and concise please.)
Permissions: (i.e [examplenode.examplenode.node])
Commands:
Anything else:
 
Last edited:
Status
This thread has been locked.
Top