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

Render triggers #1925

Closed
Sikatsu opened this issue Apr 2, 2016 · 4 comments
Closed

Render triggers #1925

Sikatsu opened this issue Apr 2, 2016 · 4 comments

Comments

@Sikatsu
Copy link

Sikatsu commented Apr 2, 2016

Do I need to add # to enable it, or disable it? Usually it's disable, but this seems the other way around?

render-triggers:
#- playermove
#- playerjoin

  • blockplaced
  • blockbreak
  • leavesdecay
  • blockburn
  • chunkgenerated
  • blockformed
  • blockfaded
  • blockspread
  • pistonmoved
  • explosion
  • blockfromto
  • blockphysics
  • structuregrow
  • blockgrow
  • blockredstone
@chuushi
Copy link

chuushi commented Apr 5, 2016

The plugin's configuration.txt file is mostly written in the way .yml files are written. I'm not sure why the default extension isn't .yml yet since that'll save my eye by having the file color coded.

In .yml files, adding "#" will change the line after that to comment, and plugins or anything that reads .yml will skip whatever's written after it. So, to enable it, you have to remove the "#" and keep the dash (-). If you want to disable it, you can either add the "#" before the dash or just get rid of the line (getting rid of the line may cause visual confusion in case you want to re-enable something).

@Sikatsu
Copy link
Author

Sikatsu commented Apr 6, 2016

Thanks for the explanation! I also wondered why it's still not .yml. Anyways, do you maybe know what will be the best ''Render-triggers'' list performance wise?

@chuushi
Copy link

chuushi commented Apr 6, 2016

I don't know if there is a "best" render triggers list. You can comment or uncomment any trigger based on what your needs are. For a full vanilla server, the current list looks okay. If, for example, your server disabled explosion damage, then you can comment out "explosion". If your server does has fire tick turned off, comment out blockburn. If your map does not allow block modification, comment out blockplaced, blockbreak, leavesdecay, blockphysics, etc. It all depends on your needs and logic.

@FedUpWith-Tech
Copy link
Collaborator

@Sikatsu you should close this issue 😉

@Sikatsu Sikatsu closed this as completed Jul 24, 2020
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

No branches or pull requests

3 participants