Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FancyNpcs 2.3.0 (1.21 support) #1

Open
wants to merge 197 commits into
base: main
Choose a base branch
from
Open

Conversation

tintinkung
Copy link

Updated your code for newer FancyNpcs version so that plotsystem can be 1.21.x

OliverSchlueter and others added 30 commits January 9, 2024 17:39
+ Added new argument to command message(/npc message <id> sendRandomly <boolean>)
+ Updated lang and npcdata to store this value

Co-authored-by: Oliver <[email protected]>
* Updated ChatColorHandler to v2.5.2

* Updated ChatColorHandler to v2.5.3
OliverSchlueter and others added 30 commits September 14, 2024 13:19
* Add tests

* add annotation based test system

* add test utils

* add delay between tests

* add Expectable

* add docs

* more CreateCMD tests

* add npc test env & tests for type cmd

* add logger

* Add DisplayNameCMDTest and TurnToPlayerCMDTest

* better messages

* increase fancyanalytics rate

---------

Co-authored-by: OliverSchlueter <[email protected]>
* lets go

* Remove old playerCommand, serverCommand and message

* move interactiontype enum

* action trigger

* setup commands

* private constructor instead of enum

* add command and more

* more commands

* saving & loading

* fix saving & loading

* test

* maybe now?

* Add wait action

* Add javadocs

* Add checks to actions

* Move default actions

* Add ExecuteRandomActionAction

* add action executor and ActionExecutionContext

* fix running actions

* fix ExecuteRandomActionAction

* add docs

* remove send_randomly subcommand

* add addBefore and addAfter

* remove message, playercommand and servercommand messages

* fix action saving

* add moveUp and moveDown

* Update version to 2.2.2-NIS

* Add player_command_as_op action

* Catch errors in actions

* Add amount_npc_actions metric

* Update version to 2.2.2-NIS2

* fix fflags cmd

* fix migrating server commands to console command action

* dont add empty list

* add any_click trigger

* add migration for sendMessagesRandomly

* update version to 2.2.2-NIS3 (I forgot)

* Add oob checks

* remove old messages

---------

Co-authored-by: OliverSchlueter <[email protected]>
* minor command logic changes, improve and fix translations

* update README.md

* commit missing changes
* Updated ChatColorHandler to v2.5.2

* Updated ChatColorHandler to v2.5.3

* Updated ChatColorHandler to 4.0.0
…cyMcPlugins#176)

* add missing placeholder to `/npc action (...) set` command

* fix invalid translation key being used in `/npc copy` command output
* fix missing braces
* simplified some statement to ternary
* removed some field that is outdated by new FancyNpcs version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.