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

[CR-10] NPCs and Quests logic by scripts #10

Open
2 tasks
congcoi123 opened this issue Apr 26, 2022 · 1 comment
Open
2 tasks

[CR-10] NPCs and Quests logic by scripts #10

congcoi123 opened this issue Apr 26, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@congcoi123
Copy link
Owner

congcoi123 commented Apr 26, 2022

Scripts could be used for implementing quests and NPCs logic. In this case, the running command can be considered as.

$ java -jar server.jar configuration=configuration 
.xml scripts=/scripts

Prerequisites

  • Script handlers need to be implemented by annotations mechanisms
  • Each script must have independent handler class, it distinguishes others by script file's path
@congcoi123 congcoi123 created this issue from a note in TenIO Core Module (To do) Apr 26, 2022
@congcoi123 congcoi123 self-assigned this Apr 26, 2022
@congcoi123 congcoi123 added the enhancement New feature or request label Apr 26, 2022
@congcoi123
Copy link
Owner Author

The script files could be done by using .xml format.
It is not so flexible but still feasible.
Remembers to implement mechanisms allow refreshing and saving scripts data into cache frequently.

@congcoi123 congcoi123 changed the title [feature] NPCs and Quests logic by scripts [CR-10] NPCs and Quests logic by scripts May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

1 participant