Turn Off PortalGun Block Grabbing?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Slapyurmomma

New Member
Jul 29, 2019
8
0
0
I need some help please. I am trying to make it so players cant pickup blocks with the portal gun. i run a FTB server using Direwolf20 V4 Mod pack. I have tried changing the Config files in the config folder and world folder with no luck. This is both my configs:

World Folder Config Below
# Configuration file
# Generated on 1/12/13 3:15 PM

####################
# aerialfaithplates
#===================
# Aerial Faith Plate options
#
# For Booleans
# 1 means Yes
# 0 means No
####################

aerialfaithplates {
# Boolean:
# Can the Aerial Faith Plate's power be modified when you right click it? (For use in maps)
I:afpCanBeEdited=1

# Boolean:
# Does getting launched by an Aerial Faith Plate lock your keys? (Until you hit something)
I:afpLocksKeys=0
}


####################
# highenergypellet
#===================
# High Energy Pellet options
#
# For Booleans
# 1 means Yes
# 0 means No
####################

highenergypellet {
# Boolean:
# Can the High Energy Pellet be released from its catcher (For use in maps)
I:hepCanBeReleased=1

# HEP Collision modes.
# 1 = Kill every living thing.
# 2 = Kill every living thing except players.
# 3 = Knockback every living thing.
# 4 = Knockback every living thing except players.
I:hepMode=1
}


####################
# portalgun
#===================
# Portalgun options.
# Can be changed in-game.
#
# For Booleans
# 1 means Yes
# 0 means No
####################

portalgun {
# Do two single coloured portal guns automatically merge into a dual portal gun?
# 0 = No.
# 1 = Yes.
# 2= Yes, but from the pedestal only.
I:autoMergeGuns=2

# Boolean:
# Can you edit placed spawners?
I:canEditSpawners=1

# Boolean:
# Can the reset key of portal guns be used?
I:canResetPortals=1

# Boolean:
# Can you shoot portals through glass?
I:canShootPortalsThroughGlass=0

# Portal placement black/whitelist IDs
# Format: Refer block grabbing black/whitelist IDs + metadata above.
S:portalListIDs=0

# Range of which you can shoot portals.
# Rounded off to nearest 5.
I:portalRange=10000

# Boolean:
# Portal placement whitelist enabled?
I:portalWhitelist=0
####################
# moonportals
#===================
# Moon Portal options.
#
# For Booleans
# 1 means Yes
# 0 means No
####################

moonportals {
# Boolean:
# Enable moon portals?
I:enableMoonPortals=0

# Boolean:
# Can moon portals grab blocks?
I:moonPortalGrabsBlocks=0

# Can moon portals grab players?
# 0 = No.
# 1 = Yes.
# 2 = Yes, but non-creative players only.
I:moonPortalGrabsPlayers=0

# Range (in blocks) of moon portals?
I:moonPortalRange=0

# Boolean:
# Do moon portals use the block grabbing black/whitelist when grabbing blocks?
I:moonPortalUsesGrabList=0
}

####################
# graboptions
#===================
# Portalgun grabbing options.
#
# For Booleans
# 1 means Yes
# 0 means No
####################

graboptions {
# Block grabbing black/whitelist IDs + metadata
# Format: id: meta: meta, id: meta, id, id ...
# Example: You don't want ID 1, 2, 3 and 4 to be grabbed, but only metadata 5 and 7 for ID 1, and only metadata 9 for ID 2.
# Example: grabBlockListIDs = 1: 5: 7, 2: 9, 3, 4
# If you need a more proper explanation visit: http://www.minecraftforum.net/topic/199391-/page__view__findpost__p__13392100
S:grabBlockListIDs=0

# Block grabbing mode (How a grabbed block turns into a block again)
# 1 = Blocks snap to surroundings
# 2 = Blocks fall to the ground
# 3 = Blocks float when released
I:grabBlockMode=1

# Boolean:
# Block grabbing whitelist enabled?
I:grabBlockWhitelist=1

# Entity grabbing mode
# 1 = Most entities
# 2 = Living entities and Portal entities only
# 3 = Portal entities only
I:grabEntityMode=1

# Boolean:
# Can players be grabbed by the portalgun?
I:grabablePlayers=0
}

####################
# fuel
#===================
# Portalgun fuel options (If enabled).
#
# For Booleans
# 1 means Yes
# 0 means No
####################

fuel {
# Boolean:
# Enable custom portal gun fuel?
I:customFuel=0

# Amount of items used.
I:customFuelAmount=0

# Block/Item ID (after shifting) to use as fuel.
I:customFuelId=331

# Damage/Metadata to use for the fuel.
I:customFuelMetadata=0
}

####################
# potatogun
#===================
# Potatogun options.
#
# For Booleans
# 1 means Yes
# 0 means No
####################

potatogun {
# Boolean:
# Allow the PotatOS to speak?
I:potatosSpeech=1

# Cooldown time for PotatoOS speech (in ticks)
I:potatosSpeechCooldown=450
}

####################
# pedestal
#===================
# PortalGun pedestal options
#
# For Booleans
# 1 means Yes
# 0 means No
####################

pedestal {
# Boolean:
# Do Pedestals drop as an items if broken?
I:apgDrops=1

# How do Pedestals give players portalguns?
# 0 = Disabled
# 1 = Collision and right clicking
# 2 = Right clicking
# 3 = Collision
I:apgGiveMode=2

# Boolean:
# Are Pedestals invincible? (Cannot change to item form.)
I:apgIsInvincible=0

# Boolean:
# Can Pedestals be used only once?
I:apgSingleUse=0
}

}


####################
# turrets
#===================
# Sentry Turret options
#
# For Booleans
# 1 means Yes
# 0 means No
####################

turrets {
# Chance of a sentry turret to change into an oracle turret.
# 0 = Every time.
# 1 = 50% chance
# 2 = 33% chance... etc
# Set to -1 to disable.
I:differentChance=-1

# What is the range of the turret's serenade? (in blocks)
I:serenadeRange=64

# Boolean:
# Do oracle turrets only serenade when they see the player?
I:serenadeWhenSeen=1

# Can turret bullets break glass?
# 0 = No.
# 1 = Yes, glass panes only
# 2 = Yes, glass panes and blocks
I:turretBulletsBreakGlass=1

# Turret's Damage
# Default: 2
I:turretDamage=4

# Boolean:
# Does a turret drop an item when it dies?
I:turretDrops=1

# Additional turret exceptions
# Written in string form of the class (including package).
# Note that using net.minecraft.src will not actually work.
# Format: <classname>, <classname>, <classname>
# Eg: thaumcraft.world.EntityThaumSlime, thaumcraft.world.EntityWisp, net.minecraft.src.gb_EntityGibs
S:turretExceptions=

# Turret's explosion magnitude when on fire
# Default: 15
I:turretExplosionMag=15

# Boolean:
# Are turrets invincible?
I:turretIsInvincible=0

# Turret Exception modes. (Larger number = more exceptions)
# Turrets will not attack players on peaceful.
# 1 = Attacks everything
# 2 = Ignores players and tamed pets
# 3 = Ignores animals and villagers
# 4 = Ignores mobs
I:turretMode=1

# Turret's range of fire (in blocks)
I:turretRange=40

# Can turrets see through glass?
# 0 = No.
# 1 = Yes, but it doesn't fire.
# 2 = Yes, and it fires at target.
I:turretSeesThroughGlass=1

# Boolean:
# Can turrets see through (only) wall portals?
I:turretSeesThroughPortals=1
}


####################
# weightedcubes
#===================
# Weighted cube Mod Part options.
# This also includes the redirection cube from TDBs
#
# For Booleans
# 1 means Yes
# 0 means No
####################

weightedcubes {
# Boolean:
# Can Weighted Cubes break glass panes on collision?
I:cubeBreaksGlassPanes=1

# Boolean:
# Are Weighted Cubes invincible? (Cannot change to item form. Cubes from deployers are intentionally invincible)
I:cubeIsInvincible=0

# Boolean:
# Can the radio be turned off?
I:radioCanBeTurnedOff=1

# Boolean:
# Can the radio take damage?
I:radioIsInvincible=0
}

Does anyone see what i am doing wrong? i set the configs and restarted server but other players can still pick up any block.

Thanks,
Slap
 

Slapyurmomma

New Member
Jul 29, 2019
8
0
0
Config folder portal gun config

# Configuration file
# Generated on 1/12/13 3:07 PM

####################
# block
####################

block {
####################
# ids
#===================
# Block Ids.
# Blocks will use these IDs. If there is a conflict on first generation there will be autoresolve.
####################

ids {
I:idAFP=1102

# Almost every other block in the mod.
I:idMulti=1101

# Portals
I:idPortal=1100
}

}


####################
# chestloot
#===================
# Chest Loot options.
# Changes will only take effect on newly generated loot chests.
#
# For Booleans
# 1 means Yes
# 0 means No
####################

chestloot {
# Boolean:
# Is chest loot enabled for Ender Pearl Dust?
I:enableLootDust=1

# Boolean:
# Is chest loot enabled for Fizzlers?
I:enableLootFizzler=1

# Boolean:
# Is chest loot enabled for Portal Guns?
I:enableLootPortalGun=1

# Boolean:
# Is chest loot enabled for Portal Spawners?
I:enableLootPortalSpawner=1

# Enabled chest loot spawns.
# 0 = Disabled
# 1 = Dungeon Chests
# 2 = Bonus Chests
# 3 = Village Blacksmith Chests
# 4 = Stronghold Crossing Chests
# 5 = Stronghold Library Chests
# 6 = Stronghold Corridor Chests
# 7 = Jungle Pyramid Dispensers
# 8 = Jungle Pyramid Chests
# 9 = Desert Pyramid Chests
# 10 = Mineshaft Corridor Chests
# Formatting: 1, 2, 3, ... etc
S:enabledLootOptions=1

# What is the rarity of Ender Pearl Dust?
# 1 - 100
I:lootRarityDust=10

# What is the rarity of Fizzlers?
# 1 - 100
I:lootRarityFizzler=2

# What is the rarity of Portal Guns?
# 1 - 100
I:lootRarityPortalGun=2

# What is the rarity of Portal Spawners?
# 1 - 100
I:lootRarityPortalSpawner=2
}


####################
# client
####################

client {
####################
# clientspecific
####################

clientspecific {
I:christmasPotatOS=1
S:colourBaconGun1=#ffffff
S:colourBaconGun2=#ffffff
S:colourPotatoGun1=#ffffff
S:colourPotatoGun2=#ffffff
I:customBaconGunColour=1
I:customPotatoGunColour=1
I:enableSounds=1
I:equipPortalGunSound=1
I:portalGunModel=1
I:renderTurretLaser=1
}

####################
# keybinds
####################

keybinds {
I:grabKey=34
I:resetPortalsKey=19
I:shootBluePortalKey=-100
I:shootOrangePortalKey=-99
I:zoomKey=-98
}

}


####################
# general
#===================
# General settings for the mod.
####################

general {
# Disabled mod parts.
# Mod parts in this mod can be disabled to free up Block/Item IDs, etc.
# More info can be found here:
# http://ichun.us/mods/portalgun/mod-content/
#
# By default, all mod parts are enabled, so this setting is set to -1.
# To disable parts, list them as so, with letters A, B, C, D representing a number of a mod part:
# EG: A, B, C, D.
# At this moment, not all of the previous mod content have been added. They will be in the future.
#
# 0 = Portals (Including the pedestal)
# 1 = Long fall boots
# 2 = Weighted Storage Cubes, including the records and the radio.
# 3 = Material Emancipation Grid(Not yet implemented)
# 4 = Turrets
# 5 = Aerial Faith Plates
# 6 = High Energy Pellets
# 7 = Thermal Discouragement Beams(Not yet implemented)
# 8 = Checkpoint Blocks(Not yet implemented)
# 9 = Decorative items.
S:modPartsDisabled=6
}


####################
# item
####################

item {
####################
# ids
#===================
# Base Item Ids.
# Items will start using these IDs and increment.
# Items do not have autoresolve.
####################

ids {
# Item ID base
# Mod items (Excluding records) will start using this ID and increment.
# Default: 13200
I:itemIdIndex=13200

# Record ID base
# Mod records will start using this ID and increment.
# Default: 13400
I:recordIdIndex=13400
}

}


####################
# portalgun
#===================
# Portalgun options.
# These cannot be changed in-game. Look in the world folder for many more options.
#
# For Booleans
# 1 means Yes
# 0 means No
####################

portalgun {
# Boolean:
# Can you macerate the ender pearl to get ender pearl dust (For IndustrialCraft 2 mod only)?
I:dustMaceration=1

# Boolean:
# Enable Fuel (ender pearl dust) for the portalgun?
# Custom fuel is possible in the WORLD config.
I:portalGunFuel=0
I:portalRange=10000
}

Also how do i turn off block grabbing for Gravi gun? And how do i Disable Mining Laser without a bunch of server errors.

Thanks for the help in advance!
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
Note sure if you can turn it off with 1 line, but the settings for blockgrabbing van be found here in the world config settings:
Code:
####################
# graboptions
#===================
# Portalgun grabbing options.
#
# For Booleans
# 1 means Yes
# 0 means No
####################
 
graboptions {
# Block grabbing black/whitelist IDs + metadata
# Format: id: meta: meta, id: meta, id, id ...
# Example: You don't want ID 1, 2, 3 and 4 to be grabbed, but only metadata 5 and 7 for ID 1, and only metadata 9 for ID 2.
# Example: grabBlockListIDs = 1: 5: 7, 2: 9, 3, 4
# If you need a more proper explanation visit: http://www.minecraftforum.net/topic/199391-/page__view__findpost__p__13392100
S:grabBlockListIDs=0
 
# Block grabbing mode (How a grabbed block turns into a block again)
# 1 = Blocks snap to surroundings
# 2 = Blocks fall to the ground
# 3 = Blocks float when released
I:grabBlockMode=1
 
# Boolean:
# Block grabbing whitelist enabled?
I:grabBlockWhitelist=1

There you also see a link towards a page with more info about the Block ID's.

2) Mining laser can't be turned of at this moment, been several topics about.
3) Gravigun is part of Grag's Tech i believe, so should be in the config of Greg's Tech

EDIT did some quick searching:
http://forum.feed-the-beast.com/threads/all-that-have-server-read-this.1032/
He wants to disable it for an other reason, but the config line stays the same
Code:
grabblock=1, change to 0