Towny Classic

Towny Classic

3.2k Downloads

Campfire is a permission ignoring bug

madebygood opened this issue ยท 6 comments

commented

What steps will reproduce the problem?

Even outsiders in town can put items on campfires.

What is the expected output?

Under normal circumstances, you shouldn't be able to modify your campfire.

Towny version

0.99.5.7

Server version

1.19.2

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log:
  2. Your Towny config.yml:
  3. Your townyperms.yml:
  4. Your log's error:

(optional) If this is to do with permissions,
5. Your permissions file:

(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:

commented

Try putting CAMPFIRE into the switch_id in the config

commented

Try putting CAMPFIRE into the switch_id in the config

Adding it there also causes a bug.

commented

What bug?

commented

What bug?

Even outsiders in town can put items on campfires.

when switch_id added CAMPFIRE too

commented

OK, is it a problem that outsiders can put food on campfire? Campfires don't consume fuel and the food just pops off when the food is cooked.

commented
  1. Several servers, including me, have servers that allow you to put any item on a campfire.

Thus, problems such as precious swords getting into someone else's town campfire may occur.

  1. Many town use campfires as bridges for interior purposes.

However, if a user from another town comes and puts dozens of chickens there, the village will suffer damage.