You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To help battle abuse, the plugin should allow players to claim only a limited number of areas. Once they hit the limit, they will not be allowed to claim new areas. Admins can enlarge the limit for individual players.
Questions:
global limit, or per-gallery limit?
total limit, or time-based limit (5 areas per hour) ?
default limit dependent on user's group (how? what with multiple groups?)
Can we detect if the player has modified an area "enough" to consider it a unique area? That way, normal happy users won't ever reach the limit, because once they build something, it is excluded from their limit, yet it would still eliminate malicious abusers trying to claim too many areas.
The text was updated successfully, but these errors were encountered:
One way to detect differences is simply checking each block.
localGalleryTemplate=-- cBlockArea template used in this gallerylocalGalleryArea=-- cBlockArea with all the blocks in the users gallerylocalNumChanges=0forx=0, 15, 1dofory=0, 255, 1doforz=0, 15, 1doif (
(GalleryTemplate:GetBlockType(x, y, z) ~=GalleryArea:GetBlockType(x, y, z))
(GalleryTemplate:GetBlockMeta(x, y, z) ~=GalleryArea:GetBlockMeta(x, y, z))
) thenNumChanges=NumChanges+1endendendendif (NumChanges>AllowedChanges) then-- Do somethingelse-- Do something elseend
It'd be much easier to count the number of placed / broken blocks inside an area (and store that in the DB). Also that would disqualify WE edits (which in my opinion is a good thing).
To help battle abuse, the plugin should allow players to claim only a limited number of areas. Once they hit the limit, they will not be allowed to claim new areas. Admins can enlarge the limit for individual players.
Questions:
Can we detect if the player has modified an area "enough" to consider it a unique area? That way, normal happy users won't ever reach the limit, because once they build something, it is excluded from their limit, yet it would still eliminate malicious abusers trying to claim too many areas.
The text was updated successfully, but these errors were encountered: