If, during your declare attackers step, a creature that must attack if able is tapped, is affected by a spell or ability that says it can't attack, or hasn't been under your control continuously since the turn began (and doesn't have haste), then it doesn't attack. If there's a cost associated with having a creature attack, you're not forced to pay that cost, so it doesn't have to attack in that case either.

Artwork
Loading artwork…
Goblin Rabblemaster
Foundations Jumpstart · #558 · EN
Nonfoil—Foil—
Card rules
Other Goblin creatures you control attack each combat if able.
At the beginning of combat on your turn, create a 1/1 red Goblin creature token with haste.
Whenever this creature attacks, it gets +1/+0 until end of turn for each other attacking Goblin.
2/2
Rare · Illustrated by Svetlin Velinov
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The number of attacking Goblins is counted as the last ability resolves, and the bonus is locked in at that time.
Although Goblin Rabblemaster doesn't force itself to attack, if you control two of them, they'll force each other to attack if able.