marcelo-mason / PreciousStones

Self-service protection for Minecraft servers
http://dev.bukkit.org/server-mods/preciousstones/
56 stars 67 forks source link

Really important: New placed blocks don't work #1092

Closed arturek1666 closed 7 years ago

arturek1666 commented 7 years ago

Version spigot-1.12-R0.1-SNAPSHOT-b1361.jar also try paperspigot newest Plugin Version: 10.6.0 My problem is that from update i think when someone places a block nothing happens, and also no region is creating. My data is stored in mysql. If someone placed them before they work. But when i use /give (nick) blockname 1 i receive it but when placing nothing happens

I hope you can help me fix this issue :(. There is no error in console.

That's my config:

unbreakable-blocks: []
force-field-blocks:
- title: MalyBlock
  limits:
  - 4
  block: iron_block
  radius: 25
  custom-height: 256
  meta-name: '&bZabezpieczenie Male'
  meta-autoset: false
  meta-lore:
  - '&eTo zabezpieczy twoje miasto'
  - '&eZabezpiecza region na 50x50blokow'
  - '&eWysokosc zabezpieczenia 256'
  prevent-use:
  - 96
  - 167
  - 64
  - 71
  - 193
  - 194
  - 195
  - 196
  - 54
  - 69
  - 70
  - 72
  - 77
  - 107
  - 143
  - 69
  prevent-entry: false
  prevent-pvp: true
  prevent-fire: true
  prevent-fire-spread: true
  prevent-place: true
  prevent-destroy: true
  prevent-creeper-explosions: true
  prevent-vehicle-destroy: true
  prevent-enderman-destroy: true
  prevent-explosions: true
  prevent-unprotectable: true
  prevent-mob-spawn: true
  prevent-flow: true
  prevent-place-blacklist:
  - 153
  ?no-resize: true
  ?prevent-item-frame-take: true
  ?prevent-teleport: true
  ?protect-inventories: true
  ?prevent-portal-enter: false
  ?prevent-portal-destination: false
  ?prevent-portal-create: false
  ?prevent-vehicle-enter: true
  ?prevent-vehicle-exit: true
  ?protect-animals: true
  ?protect-crops: true
  ?prevent-potion-splash: true
  ?protect-armor-stands: true
  ?protect-villagers: true
  ?welcome-message: true
  ?farewell-message: true
  ?entry-alert: false
  command-blacklisting: true
  can-change-owner: true
  enable-on-src: true
  mixing-group: 1
  rentable: true
  rents-limit: 5
  buyable: false
  cuboid: true
  mask-on-disabled: 80
- title: SredniBlock
  limits:
  - 4
  block: diamond_block
  radius: 50
  custom-height: 256
  meta-name: '&bZabezpieczenie Srednie'
  meta-autoset: false
  meta-lore:
  - '&eTo zabezpieczy twoje miasto'
  - '&eZabezpiecza region na 100x100 blokow'
  - '&eWysokosc zabezpieczenia 256'
  prevent-use:
  - 96
  - 167
  - 64
  - 71
  - 193
  - 194
  - 195
  - 196
  - 54
  - 69
  - 70
  - 72
  - 77
  - 107
  - 143
  - 69
  prevent-entry: false
  prevent-pvp: true
  prevent-fire: true
  prevent-fire-spread: true
  prevent-place: true
  prevent-destroy: true
  prevent-creeper-explosions: true
  prevent-vehicle-destroy: true
  prevent-enderman-destroy: true
  prevent-explosions: true
  prevent-unprotectable: true
  prevent-mob-spawn: true
  prevent-flow: true
  protect-inventories: true
  prevent-place-blacklist:
  - 153
  ?no-resize: true
  ?prevent-potion-splash: true
  ?prevent-item-frame-take: true
  ?prevent-portal-enter: false
  ?prevent-portal-destination: false
  ?prevent-portal-create: false
  ?prevent-vehicle-enter: true
  ?prevent-vehicle-exit: true
  ?prevent-teleport: true
  ?protect-animals: true
  ?protect-villagers: true
  ?protect-crops: true
  ?protect-armor-stands: true
  ?farewell-message: true
  ?welcome-message: true
  ?entry-alert: false
  command-blacklisting: true
  can-change-owner: true
  enable-on-src: true
  mixing-group: 1
  rentable: true
  rents-limit: 5
  buyable: false
  cuboid: true
  mask-on-disabled: 80
- title: Duzyblock
  block: obsidian
  limits:
  - 1
  radius: 100
  custom-height: 256
  meta-name: '&bZabezpieczenie Duze'
  meta-autoset: false
  meta-lore:
  - '&eTo zabezpieczy twoje miasto'
  - '&eZabezpiecza region na 200x200blokow'
  - '&eTen blok automatycznie wylacza PVP'
  prevent-use:
  - 96
  - 167
  - 64
  - 71
  - 193
  - 194
  - 195
  - 196
  - 54
  - 69
  - 70
  - 72
  - 77
  - 107
  - 143
  - 69
  prevent-entry: false
  prevent-pvp: true
  prevent-fire: true
  prevent-fire-spread: true
  prevent-place: true
  prevent-destroy: true
  prevent-creeper-explosions: true
  prevent-vehicle-destroy: true
  prevent-enderman-destroy: true
  prevent-explosions: true
  prevent-unprotectable: true
  prevent-mob-spawn: true
  prevent-flow: true
  protect-inventories: true
  prevent-place-blacklist:
  - 153
  ?no-resize: true
  ?prevent-item-frame-take: true
  ?prevent-teleport: true
  ?prevent-potion-splash: true
  ?prevent-portal-enter: false
  ?prevent-portal-destination: false
  ?prevent-portal-create: false
  ?prevent-vehicle-enter: true
  ?prevent-vehicle-exit: true
  ?protect-villagers: true
  ?protect-animals: true
  ?protect-crops: true
  ?protect-armor-stands: true
  ?welcome-message: true
  ?farewell-message: true
  ?entry-alert: false
  command-blacklisting: true
  can-change-owner: true
  enable-on-src: true
  mixing-group: 1
  rentable: true
  rents-limit: 5
  buyable: false
  cuboid: true
  mask-on-disabled: 80
bypass-blocks: []
unprotectable-blocks: []
hiding-mask-blocks:
- '1'
- '2'
- '3'
- '4'
- '5'
- '7'
- '12'
- '13'
- '17'
- '18'
- '20'
- '24'
- '35'
- '43'
- '45'
- '47'
- '48'
- '49'
- '53'
- '60'
- '67'
- '80'
- '81'
- '82'
- '87'
- '88'
- '89'
- '99'
- '100'
- '108'
- '109'
- '110'
- '123'
- '124'
- '125'
- '128'
- '134'
- '135'
- '136'
tool-items:
- '256'
- '257'
- '258'
- '269'
- '270'
- '271'
- '273'
- '274'
- '275'
- '277'
- '278'
- '279'
- '284'
- '285'
- '286'
- '290'
- '291'
- '292'
- '293'
- '294'
repairable-items:
- '256'
- '257'
- '258'
- '259'
- '261'
- '267'
- '268'
- '269'
- '270'
- '271'
- '272'
- '273'
- '274'
- '275'
- '276'
- '277'
- '278'
- '279'
- '283'
- '284'
- '285'
- '286'
- '290'
- '291'
- '292'
- '293'
- '294'
- '298'
- '299'
- '300'
- '301'
- '302'
- '303'
- '304'
- '305'
- '306'
- '307'
- '308'
- '309'
- '310'
- '311'
- '312'
- '313'
- '314'
- '315'
- '316'
- '317'
- '346'
- '359'
log:
  translocation: true
  rollback: true
  fire: true
  entry: true
  place: true
  use: true
  pvp: true
  destroy: true
  destroy-area: false
  place-area: false
  unprotectable: true
  bypass-pvp: true
  bypass-delete: true
  bypass-place: true
  bypass-destroy: true
  conflict-place: true
  rents-and-purchases: true
notify:
  translocation: true
  rollback: true
  place: true
  destroy: true
  bypass-unprotectable: true
  bypass-pvp: true
  bypass-place: true
  bypass-destroy: true
  fly-zones: true
warn:
  instant-heal: true
  slow-heal: true
  slow-damage: true
  slow-feeding: true
  slow-repair: true
  fast-damage: true
  air: true
  fire: true
  entry: true
  place: true
  use: true
  pvp: true
  destroy: true
  destroy-area: true
  unprotectable: true
  launch: true
  cannon: true
  mine: true
settings:
  disable-messages: false
  prevent-removal-if-player-in-field: true
  use-commands-to-rent: true
  disable-simpleclans-hook: false
  max-size-translocation: 100000
  max-size-translocation-for-redstone: 1000
  version: 14
  prevent-place-everywhere:
  - creative_world
  prevent-destroy-everywhere:
  - creative_world
  show-default-welcome-farewell-messages: true
  sneak-to-place-field: true
  sneak-to-place-normal-block: true
  disable-ground-info: false
  global-field-limit: 1000000
  no-refund-for-fields: false
  public-block-details: false
  drop-on-delete: true
  disable-alerts-for-admins: true
  disable-bypass-alerts-for-admins: false
  off-by-default: false
  lines-per-page: 100
  show-debug-info: false
  blacklisted-worlds:
  - world_the_end
  - world_nether
  - spawn
  - Event
  auto-allow-clan-on-fields: true
  auto-allow-team-on-fields: false
  check-once-per-block-on-move: false
  use-blockids-in-snitches: false
  fence-max-depth: 50
  max-target-distance: 100
  default-item-currency: '266'
  disable-field-break-while-creative: false
  prevent-breaking-hidden: false
cuboid:
  defining-blocktype: obsidian
  visualization-blocktype: glass
cleanup:
  player-inactivity-purge-days: 180
  purge-banned-players: false
saving:
  frequency-seconds: 1
  max-records-per-snitch: 50
visualization:
  frame-block-type: glass
  block-type: glass
  seconds: 30
  new-dotted-style: true
  end-on-player-move: false
  mark-block-type: obsidian
  default-density: 8
  blocks-to-send: 100
  max-fields-to-visualize-at-once: 5
  ticks-between-sends: 10
  visualize-on-expand: true
grief-revert:
  min-interval-secs: 30
  black-list:
  - '92'
mysql:
  enable: true
  host: localhost
  port: 3306
  database: user
  username: user
  password: Deferentpassword
marcelo-mason commented 7 years ago

What version of PS you using?

arturek1666 commented 7 years ago

The newest

arturek1666 commented 7 years ago

10.6.0

marcelo-mason commented 7 years ago

ok will check on this in a couple hours.

marcelo-mason commented 7 years ago

Try downgrading to 10.5.4, maybe its a prob with new updates.

arturek1666 commented 7 years ago

ok give me a sec

arturek1666 commented 7 years ago

Nope don't work, I didn't really do anything to broke it, so it's strange, I even change for paperspigot to spigot to check it LOL

arturek1666 commented 7 years ago

I even switched off mysql and checked if i can place still nothing. May be problem is in my config.

arturek1666 commented 7 years ago

The problem is that i didn't really messed with my config, i just reset the server and after that it stooped working

marcelo-mason commented 7 years ago

try turning show-dubug-info: true on config and try to place pstone see what it says.

arturek1666 commented 7 years ago

After switching this nothing really happens nothing in console or in game

marcelo-mason commented 7 years ago

You should be seeing SQL queries in console when you do ps related stuff.

arturek1666 commented 7 years ago

nope nothing.

marcelo-mason commented 7 years ago

You restarted the server?

arturek1666 commented 7 years ago

Yes

marcelo-mason commented 7 years ago

When the server first starts, what does PS say?

arturek1666 commented 7 years ago

[17:13:33] [Server thread/INFO]: [PreciousStones] Loading PreciousStones v10.5.4

[17:13:45] [Server thread/INFO]: [PreciousStones] Enabling PreciousStones v10.5.4 [17:13:45] [Server thread/INFO]: [PreciousStones] Version 10.5.4 loaded [17:13:45] [Server thread/INFO]: [PreciousStones] MySQL Connection successful [17:13:45] [Server thread/INFO]: finalizing queue [17:13:45] [Server thread/INFO]: clearing fields from memory

[17:13:46] [Craft Scheduler Thread - 18/INFO]: [PreciousStones] (world) cuboids: 170 [17:13:46] [Server thread/INFO]: [PreciousStones] [New Player]: Aukcje UUID: 932d4b6c-b04a-23de-9c1e-ebfc96a9b7ca [17:13:46] [Server thread/INFO]: [PreciousStones] [New Player]: AdminShop UUID: ce842462-ed0e-2f2a-a10c-5ca421d0a348

[17:13:46] [Server thread/INFO]: [PreciousStones] [New Player]: uni_dlagraczy.eu UUID: 466fe0a5-c633-2770-b96f-15603d43e07b

that's all from console

arturek1666 commented 7 years ago

I always had that PreciousStones was including the NPC as well as new players but it never gived an issue so that's not that.

arturek1666 commented 7 years ago

I try to disable some plugins that I added in couple of days but looks like that changes nothing

arturek1666 commented 7 years ago

now the console spam me with this: [18:04:07] [Server thread/INFO]: IRON_BLOCK: 2601 [18:04:07] [Server thread/INFO]: DIAMOND_BLOCK: 10201 [18:04:07] [Server thread/INFO]: IRON_BLOCK: 2601 [18:04:10] [Server thread/INFO]: DIAMOND_BLOCK: 10201 [18:04:10] [Server thread/INFO]: IRON_BLOCK: 2601 [18:04:10] [Server thread/INFO]: DIAMOND_BLOCK: 10201 [18:04:10] [Server thread/INFO]: IRON_BLOCK: 2601 [18:04:10] [Server thread/INFO]: DIAMOND_BLOCK: 10201 [18:04:10] [Server thread/INFO]: IRON_BLOCK: 2601

and there is a lot of that every secend xD

marcelo-mason commented 7 years ago

You have meta-autoset: false on your pstones, that means the only way they work is if you have like a shop plugin that can create items with the meta already in them.

marcelo-mason commented 7 years ago

Meta wont be auto-set on blocks that dont already have the meta data. And blocks without the meta-data are not pstones.

marcelo-mason commented 7 years ago

Turn the auto-set back on, or generate items with the meta-data already in them via a shop plugin or some other kind of plugin.

arturek1666 commented 7 years ago

I always had them on false and worked fine. I can switch to true but i don't think it will work. To check if it works I use /ps give (nick) (blockprotection) 1 so if placed that block should work in my case it doesn't work

marcelo-mason commented 7 years ago

hmm k

arturek1666 commented 7 years ago

I will try to change one block to true and see if it work's but not soon as there is too many players on my server to reset. For now i disable the way they get this blocks to fix issue xD

arturek1666 commented 7 years ago

And than i will try if it will not work i will contact you again

arturek1666 commented 7 years ago

I write compliantly config again from scratch and works :).