-
Notifications
You must be signed in to change notification settings - Fork 66
Changing block Ids after the fact
Marcelo edited this page Aug 1, 2017
·
1 revision
If you have configured your pstones a certain way and later on after people have been using them you wish to change the block id, here is the procedure you would take:
For example If I want to change a field from blockid 57 to 56
- Run "ps clean" from console (to make sure there are no orphaned fields laying around)
- Stop your server
- Run the following SQL: update pstone_cuboids set type_id = 56 where type_id = 57 (notice im updating the pstone_cuboids table, if your field is not a cuboid you would need to update the pstone_fields table)
- Start your server
- Run "ps revert" (This will change all orphaned fields blocks to the new type stored on the database)