This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10: To the Sky. | |
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission. | |
ServerEvents.recipes((event) => { | |
event.remove([ | |
'modern_industrialization:quarry/bronze', | |
'modern_industrialization:quarry/steel', | |
'modern_industrialization:quarry/stainless_steel', | |
'modern_industrialization:quarry/titanium', | |
'modern_industrialization:quarry/copper', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ServerEvents.recipes((event) => { | |
// Add recipe to remove | |
event.remove([ | |
'modern_industrialization:oil/crude_oil', | |
'modern_industrialization:oil/shale_oil', | |
'modern_industrialization:oil/water' | |
]) | |
// Oil Drilling pattern |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Exchange library | Local installation | |
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn | |
# Exchange credentials session Exchange not tested | |
# $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://your.exchange.server/PowerShell/ -Authentication Kerberos | |
# Import-PSSession $session -DisableNameChecking | |
# Credentials session Exchange | |
$username = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get the name of the servers to check | |
$servers = @("example1", "example2", "example3") | |
# Variables | |
$totalMessages = 0 | |
$messageSubject = "Too many messages in the queue" | |
$maxMessages = 100 | |
# SMTP configuration | |
$smtpFrom = "myAddress@example.com" |