PreciousStones

PreciousStones

269k Downloads

Rent signs

ProdigalCB opened this issue ยท 13 comments

commented

Was wondering if this plugin conflcit at all with the essentials sign plugin. We would love to use your rentable pstone feature but unfortunatly it doesnt allow us to to use it it states "Feild sign not formated correctly" We are using this format:
[Rent]
10
6d
And have tried many others without success. Do you think that us utilizing essentials shops signs would cause conflicts between the two plugins?

commented

Anyone have any ideas?

commented

Essentials will override the [Buy] and [Sell] signs, but not the [Rent] one. You can disable the Buy and Sell signs in the Essentials config as shown below. Doing so will allow PreciousStones to use those tags.

enabledSigns:
- color
- balance
#- buy
#- sell
- trade
- free
- disposal
- warp
- kit
- mail
- enchant
- gamemode
- heal
- info
- spawnmob
- repair
- time
- weather

ChestShop seems to be one of the most popular sign based shop plugins and that won't conflict with the PreciousStones Buy/Sell signs. As for the format error you are getting, I don't have any suggestions. I created a sign with the exact information you gave in your example and had no issue with it. Are you putting "[Rent]" on the first line of the sign, "10" on the second, and "6d" on the third? I ask because I've seen some CraftBook users sometimes try use that plugin's sign structure (As in using lines 2, 3, and 4).

commented

Thank you for responding,
I do use the sign format for lines 1,2, and 3. Not 2,3, and 4. I used you your very helpful wiki turorials. It does affect all the signs for PreciousStones including the [Rent]. I have noticed, though, that it seems to be working on coal ore PS Stones. We have three on our server. Coal (small) Lapis (medium) and Diamond (Large). It only seems to be working on the coal. Would it be something we have done wrong? Also Shared Signs does not seem to work on any of them.

commented

Hmm. Could you post your Coal, Lapis, and Diamond field data from your PS config?

commented
I am not sure what you wanted so I posted the entire config file incase you see anything I messed up.


bypass-blocks: []
unprotectable-blocks: []
unbreakable-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'
- '98'
- '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
- 359
force-field-blocks:
- title: Small Protection
  block: 16
  radius: 5
  price: 250
  refund: 250
  limits:
  - 4
  - 8
  - 8
  - 8
  - 8
  - 8
  - 8
  - 8
  - 12
  - 16
  - 20
  - 20
  - 20
  - 20
  - 16
  cuboid: true
  mixing-group: 1
  prevent-fire: true
  prevent-flow: true
  prevent-place: true
  prevent-destroy: true
  prevent-vehicle-destroy: true
  prevent-item-frame-take: true
  prevent-potion-splash: true
  prevent-enderman-destroy: true
  prevent-explosions: true
  prevent-creeper-explosions: true
  prevent-wither-explosions: true
  prevent-tnt-explosions: true
  prevent-pvp: true
  prevent-unprotectable: true
  prevent-use:
  - 23
  - 54
  - 61
  - 62
  - 158
  ?prevent-teleport: false
  ?prevent-flight: false
  prevent-portal-destination: true
  ?prevent-portal-enter: false
  protect-animals: true
  protect-villagers: true
  protect-crops: true
  protect-inventories: true
  welcome-message: false
  farewell-message: false
  rollback-explosions: true
  no-projectile-throw: true
  visualize-on-place: true
  can-change-owner: true
  command-blacklisting: true
  enable-on-src: true
  ?prevent-portal-create: true
  ?entry-alert: true
  rentable: true
  ?shareable: true
  ?buyable: true
  mask-on-disabled: 80
- title: Medium Protection
  block: 21
  radius: 10
  price: 1740
  refund: 1740
  limits:
  - 2
  - 4
  - 4
  - 4
  - 4
  - 4
  - 4
  - 4
  - 8
  - 16
  - 32
  - 32
  - 32
  - 32
  - 16
  cuboid: true
  mixing-group: 1
  prevent-fire: true
  prevent-flow: true
  prevent-place: true
  prevent-destroy: true
  prevent-vehicle-destroy: true
  prevent-item-frame-take: true
  prevent-potion-splash: true
  prevent-enderman-destroy: true
  prevent-explosions: true
  prevent-creeper-explosions: true
  prevent-wither-explosions: true
  prevent-tnt-explosions: true
  prevent-pvp: true
  prevent-unprotectable: true
  prevent-use:
  - 23
  - 54
  - 61
  - 62
  - 158
  ?prevent-teleport: false
  ?prevent-flight: false
  prevent-portal-destination: true
  ?prevent-portal-enter: false
  protect-animals: true
  protect-villagers: true
  protect-crops: true
  protect-inventories: true
  welcome-message: false
  farewell-message: false
  rollback-explosions: true
  no-projectile-throw: true
  visualize-on-place: true
  can-change-owner: true
  command-blacklisting: true
  enable-on-src: true
  ?prevent-portal-create: true
  ?entry-alert: true
  ?rentable: true
  ?shareable: true
  ?buyable: true
  mask-on-disabled: 80
- title: Large Protection
  block: 56
  radius: 20
  price: 13000
  refund: 13000
  limits:
  - 1
  - 2
  - 2
  - 2
  - 2
  - 2
  - 2
  - 2
  - 4
  - 8
  - 16
  - 16
  - 16
  - 16
  - 8
  cuboid: true
  mixing-group: 1
  prevent-fire: true
  prevent-flow: true
  prevent-place: true
  prevent-destroy: true
  prevent-vehicle-destroy: true
  prevent-item-frame-take: true
  prevent-potion-splash: true
  prevent-enderman-destroy: true
  prevent-explosions: true
  prevent-creeper-explosions: true
  prevent-wither-explosions: true
  prevent-tnt-explosions: true
  prevent-pvp: true
  prevent-unprotectable: true
  prevent-use:
  - 23
  - 54
  - 61
  - 62
  - 158
  ?prevent-teleport: false
  ?prevent-flight: false
  prevent-portal-destination: true
  ?prevent-portal-enter: false
  protect-animals: true
  protect-villagers: true
  protect-crops: true
  protect-inventories: true
  welcome-message: false
  farewell-message: false
  rollback-explosions: true
  no-projectile-throw: true
  visualize-on-place: true
  can-change-owner: true
  command-blacklisting: true
  enable-on-src: true
  ?prevent-portal-create: true
  ?entry-alert: true
  ?rentable: true
  ?shareable: true
  ?buyable: true
  mask-on-disabled: 80
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-simpleclans-hook: false
  max-size-translocation: 100000
  max-size-translocation-for-redstone: 1000
  version: 12
  prevent-place-everywhere:
  - creative_world
  prevent-destroy-everywhere:
  - creative_world
  show-default-welcome-farewell-messages: false
  sneak-to-place-field: false
  sneak-to-place-normal-block: true
  disable-ground-info: true
  global-field-limit: 1000000
  no-refund-for-fields: false
  public-block-details: true
  drop-on-delete: true
  disable-alerts-for-admins: false
  disable-bypass-alerts-for-admins: false
  off-by-default: false
  lines-per-page: 12
  log-to-hawkeye: false
  show-debug-info: false
  blacklisted-worlds:
  - creative_world
  auto-allow-clan-on-fields: true
  check-once-per-block-on-move: false
  use-blockids-in-snitches: false
  fence-max-depth: 50
cuboid:
  defining-blocktype: 49
  visualization-blocktype: 20
cleanup:
  player-inactivity-purge-days: 180
  purge-banned-players: false
saving:
  frequency-seconds: 15
  max-records-per-snitch: 50
visualization:
  frame-block-type: 20
  block-type: 20
  seconds: 30
  new-dotted-style: true
  end-on-player-move: false
  mark-block-type: 49
  default-density: 8
  blocks-to-send: 100
  max-fields-to-visualize-at-once: 5
  ticks-between-sends: 10
grief-revert:
  min-interval-secs: 30
  black-list:
  - '92'
mysql:
  enable: false
commented

You should delete the last few lines with your MySQL information from the post for safety reasons.
Do the rentable/buyable/shareable flags actually appear as "?buyable: true" in your config (With the question mark before them)? If so, using your first stone "Small Protection block" as an example that would explain why only the rent signs work for it. If those flags have a question mark before them in your config, remove the question marks.

I'm sorry for the long delay in responding by the way.

commented

Question marks mean that the flag starts off as disabled when you place the field and the user would have to use /ps toggle [flag] on their field in order to enable it. So yea like Taybosquee said, your medium and large fields have everything disabled by default so that is why they are not working.

commented

Also you can change the name of the tags "rent" "share" and "buy" that are placed on the signs to whatever you want in the language.yml file, to optimize for conflicts.

commented

Oh Thank you so Much That fixed our problems!!!
You guys have been extremely helpful. Thank you for your time and the wonderful plugin you created!!
btw. using the config I currently have what would I have to do add a forester block using emerald or as the the block?

commented

Glad to help. :)
For the Forester, here's one from the default config with the block type changed to Emerald Ore. You can just copy it into your config.

-   title: Mild Forester
    block: 129
    radius: 20
    custom-height: 15
    forester: true
    ground-block: 2
    fertile-blocks:
    - 3
    - 2
    - 13
    - 87
    - 80
    - 88
    tree-types:
    - 0
    - 0
    - 0
    - 1
    - 1
    - 4
    shrub-types:
    - 1
    - 1
    - 1
    - 2
    - 2
    - 3
    - 4
    shrub-density: 64
    tree-count: 32
    grow-time: 10
    no-owner: true
    no-conflict: false
commented

Added a new flag "forester-uses". This will do what you need. Just set that number to some huge number and the forester can be reused practically indefinitely.

http://preciousstones.shoutwiki.com/wiki/Field_Flag_Reference#forester-uses

Pick up the latest build from my jenkins.

commented

Is there a way that we can make the Forester stone permanent? It seems to go away once you place it. We were thinking about using it as a public tree farm for the server.

commented

Thank you. It doesnt seem to be working though. This is how I put in the config can you tell me what I done wrong?

- title: Mild Forester
  block: 129
  radius: 20
  custom-height: 15
  forester: true
  forester-uses: 5
  ground-block: 2
  fertile-blocks:
  - 3
  - 2
  - 13
  - 87
  - 80
  - 88
  tree-types:
  - 0
  - 0
  - 0
  - 1
  - 1
  - 4
  shrub-types:
  - 1
  - 1
  - 1
  - 2
  - 2
  - 3
  - 4
  shrub-density: 64
  tree-count: 32
  grow-time: 10
  no-owner: true
  no-conflict: false